Check matching names and length for assets and metadata (#10)
* Name and length check for assets & metadata * Disable update_metadata button on metadata modal if no metadatafile is specified
This commit is contained in:
@@ -122,7 +122,9 @@ export const MetadataModal = (props: MetadataModalProps) => {
|
||||
subtitle="Enter trait types and values"
|
||||
title="Attributes"
|
||||
/>
|
||||
<Button onClick={generateUpdatedMetadata}>Update Metadata</Button>
|
||||
<Button isDisabled={!props.metadataFile} onClick={generateUpdatedMetadata}>
|
||||
Update Metadata
|
||||
</Button>
|
||||
</FormGroup>
|
||||
</label>
|
||||
</label>
|
||||
|
||||
Reference in New Issue
Block a user