fix(ui,types): Add Metadata form for collection (#11300)
**What** - Adds missing Metadata form for collections - Fixes type of metadata in update payload - Fixes an issue where deleting the last row of a metadata form would prevent adding new ones. Resolves SUP-784
This commit is contained in:
@@ -25,7 +25,7 @@ export interface AdminUpdateCollection {
|
||||
/**
|
||||
* Key-value pairs of custom data.
|
||||
*/
|
||||
metadata?: Record<string, any>
|
||||
metadata?: Record<string, any> | null
|
||||
}
|
||||
|
||||
export interface AdminUpdateCollectionProducts {
|
||||
|
||||
Reference in New Issue
Block a user