fix hide/show remove

This commit is contained in:
Yuri Kuznetsov
2023-01-12 10:59:08 +02:00
parent 23b125f552
commit b952f3dbfb
+2 -2
View File
@@ -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');
}
},