mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 15:06:06 +00:00
Merge branch 'fix'
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user