diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/types/static/js/type.ui.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/types/static/js/type.ui.js index d85f82a90..57cfa78f3 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/types/static/js/type.ui.js +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/types/static/js/type.ui.js @@ -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'],