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'); } },