mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
disable edit compute settings for algorithms
This commit is contained in:
parent
759c9332a0
commit
72bf0da6c5
@ -33,7 +33,7 @@ export default function Edit({ uri }: { uri: string }): ReactElement {
|
||||
{
|
||||
title: 'Edit Compute Settings',
|
||||
content: <EditComputeDataset asset={asset} />,
|
||||
disabled: !isCompute
|
||||
disabled: !isCompute || asset?.metadata?.type === 'algorithm'
|
||||
}
|
||||
].filter((tab) => tab !== undefined)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user