From 9c54fb10f1daacac00f0d824405be0e85da25530 Mon Sep 17 00:00:00 2001 From: alex <48489896+devnaumov@users.noreply.github.com> Date: Mon, 19 Feb 2024 16:51:48 +0100 Subject: [PATCH] CB-4695 show delete button in footer if deleting is true (#2383) --- .../ObjectPropertyTable/ObjectPropertyTableFooterService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/packages/plugin-object-viewer/src/ObjectPropertiesPage/ObjectPropertyTable/ObjectPropertyTableFooterService.ts b/webapp/packages/plugin-object-viewer/src/ObjectPropertiesPage/ObjectPropertyTable/ObjectPropertyTableFooterService.ts index a78d9cd38b..a0385f972b 100644 --- a/webapp/packages/plugin-object-viewer/src/ObjectPropertiesPage/ObjectPropertyTable/ObjectPropertyTableFooterService.ts +++ b/webapp/packages/plugin-object-viewer/src/ObjectPropertiesPage/ObjectPropertyTable/ObjectPropertyTableFooterService.ts @@ -40,7 +40,7 @@ export class ObjectPropertyTableFooterService { isPresent(context) { return context.contextType === ObjectPropertyTableFooterService.objectPropertyContextType; }, - isHidden: () => this.navTreeSettingsService.settings.getValue('deleting'), + isHidden: () => !this.navTreeSettingsService.settings.getValue('deleting'), isDisabled: context => { if (context.data.tableState.selectedList.length === 0) { return true;