Fixed the issues reported while testing #8208

This commit is contained in:
Yogesh Mahajan 2025-01-02 15:47:25 +05:30 committed by GitHub
parent eb517e6df8
commit 5dc52446f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1311,7 +1311,7 @@ export default class TypeSchema extends BaseUISchema {
canEdit: false,
canDelete: true,
canReorder: (state)=>(this.isNew(state)),
canDeleteRow: (state)=>(_.isUndefined(state.label)),
canDeleteRow: (state)=>(this.isNew(state)),
canEditRow: true,
disabled: () => obj.inCatalog(),
deps: ['typtype'],