Merge branch 'fix'

This commit is contained in:
Yuri Kuznetsov
2023-11-21 20:40:56 +02:00

View File

@@ -662,6 +662,10 @@ class PanelsContainerRecordView extends View {
*/
this.tabDataList = tabDataList.sort((v1, v2) => v1.index - v2.index);
this.panelList = this.panelList.filter(item => {
return !this.recordHelper.getPanelStateParam(item.name, 'hiddenLocked');
});
let newList = [];
this.panelList.forEach((item, i) => {
@@ -787,10 +791,6 @@ class PanelsContainerRecordView extends View {
this.panelList.splice(index, 1);
}
this.panelList = this.panelList.filter((p) => {
return !this.recordHelper.getPanelStateParam(p.name, 'hiddenLocked');
});
this.panelsAreSet = true;
this.trigger('panels-set');