From b952f3dbfb36b22331cf7ee345faa160e2149013 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Thu, 12 Jan 2023 10:59:08 +0200 Subject: [PATCH] fix hide/show remove --- client/src/views/modals/detail.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/views/modals/detail.js b/client/src/views/modals/detail.js index 2ed5579d41..978baff233 100644 --- a/client/src/views/modals/detail.js +++ b/client/src/views/modals/detail.js @@ -282,9 +282,9 @@ define('views/modals/detail', ['views/modal', 'helpers/action-item-setup'], func } if (this.getAcl().check(this.model, 'delete')) { - this.showButton('remove'); + this.showActionItem('remove'); } else { - this.hideButton('remove'); + this.hideActionItem('remove'); } },