From 5dc52446f3713ce95df26e4d22fcd2669dedddb8 Mon Sep 17 00:00:00 2001 From: Yogesh Mahajan Date: Thu, 2 Jan 2025 15:47:25 +0530 Subject: [PATCH] Fixed the issues reported while testing #8208 --- .../servers/databases/schemas/types/static/js/type.ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'],