From 9c5ac43faa94b2e2889e532ff08b1be28da88cfb Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Thu, 19 Dec 2024 11:31:44 +0200 Subject: [PATCH] records dashlet init fix --- client/src/views/dashlets/abstract/record-list.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/src/views/dashlets/abstract/record-list.js b/client/src/views/dashlets/abstract/record-list.js index 908fae2c57..b047739a8b 100644 --- a/client/src/views/dashlets/abstract/record-list.js +++ b/client/src/views/dashlets/abstract/record-list.js @@ -68,9 +68,10 @@ class RecordListDashletView extends BaseDashletView { rowActionsView = 'views/record/row-actions/view-and-edit' init() { - super.init(); - + this.name = this.options.name || this.name; this.scope = this.getMetadata().get(['dashlets', this.name, 'entityType']) || this.scope; + + super.init(); } checkAccess() {