Skip to content

Commit 5dc5244

Browse files
Fixed the issues reported while testing #8208
1 parent eb517e6 commit 5dc5244

File tree

1 file changed

+1
-1
lines changed
  • web/pgadmin/browser/server_groups/servers/databases/schemas/types/static/js

1 file changed

+1
-1
lines changed

web/pgadmin/browser/server_groups/servers/databases/schemas/types/static/js/type.ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1311,7 +1311,7 @@ export default class TypeSchema extends BaseUISchema {
13111311
canEdit: false,
13121312
canDelete: true,
13131313
canReorder: (state)=>(this.isNew(state)),
1314-
canDeleteRow: (state)=>(_.isUndefined(state.label)),
1314+
canDeleteRow: (state)=>(this.isNew(state)),
13151315
canEditRow: true,
13161316
disabled: () => obj.inCatalog(),
13171317
deps: ['typtype'],

0 commit comments

Comments
 (0)