records dashlet init fix

This commit is contained in:
Yuri Kuznetsov
2024-12-19 11:31:44 +02:00
parent 0a94f9e6ab
commit 9c5ac43faa
@@ -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() {