diff --git a/src/components/Asset/Edit/FormEditMetadata.tsx b/src/components/Asset/Edit/FormEditMetadata.tsx index 64e6285bd..1c4461744 100644 --- a/src/components/Asset/Edit/FormEditMetadata.tsx +++ b/src/components/Asset/Edit/FormEditMetadata.tsx @@ -105,7 +105,7 @@ export default function FormEditMetadata({ } {...field} component={Input} - prefix={field.name === 'price' && oceanConfig.oceanTokenSymbol} + prefix={field.name === 'price' && oceanConfig?.oceanTokenSymbol} onChange={(e: ChangeEvent) => handleFieldChange(e, field) } diff --git a/src/components/Asset/Edit/index.tsx b/src/components/Asset/Edit/index.tsx index b56f4f317..59145bde6 100644 --- a/src/components/Asset/Edit/index.tsx +++ b/src/components/Asset/Edit/index.tsx @@ -37,13 +37,17 @@ export default function Edit({ uri }: { uri: string }): ReactElement { } ].filter((tab) => tab !== undefined) - return asset && asset?.accessDetails && accountId === owner ? ( + return asset && + asset?.accessDetails && + accountId?.toLowerCase() === owner?.toLowerCase() ? (
- ) : asset && asset?.accessDetails && accountId !== owner ? ( + ) : asset && + asset?.accessDetails && + accountId?.toLowerCase() !== owner?.toLowerCase() ? (