From 3bea3e8622bcfd2db07bacc09ffd2a5b963e2f55 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Tue, 7 Jan 2025 09:56:54 +0200 Subject: [PATCH] fix --- client/src/views/record/detail.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/client/src/views/record/detail.js b/client/src/views/record/detail.js index 801d2bbd86..5359011662 100644 --- a/client/src/views/record/detail.js +++ b/client/src/views/record/detail.js @@ -899,12 +899,7 @@ class DetailRecordView extends BaseRecordView { } if (this.type === this.TYPE_DETAIL) { - const actionItemSetup = new ActionItemSetup( - this.getMetadata(), - this.getHelper(), - this.getAcl(), - this.getLanguage() - ); + const actionItemSetup = new ActionItemSetup(); actionItemSetup.setup( this, @@ -2868,6 +2863,7 @@ class DetailRecordView extends BaseRecordView { this.dropdownItemList.push(o); } + // noinspection JSUnusedGlobalSymbols /** * Add an 'edit' mode button. *