mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
Matthias Kretschmann
02beb0f8c3
* edit refactors * fix logic around `publisherTrustedAlgorithms` * typing fix * copy & typos * conditionally add compute tab to edit screen * more logic fixes * fix various app crashes because of Debug component * semi-deal with publisherTrustedAlgorithmPublishers * more fixes, bound submit button to touched state
7 lines
188 B
TypeScript
7 lines
188 B
TypeScript
export function getFieldContent(
|
|
fieldName: string,
|
|
fields: FormFieldContent[]
|
|
): FormFieldContent {
|
|
return fields.filter((field: FormFieldContent) => field.name === fieldName)[0]
|
|
}
|