@lvce-editor/main-area-worker 5.3.0 → 5.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1752,6 +1752,10 @@ const shouldLoadContent = tab => {
|
|
|
1752
1752
|
if (tab.loadingState === 'loaded' && tab.content) {
|
|
1753
1753
|
return false;
|
|
1754
1754
|
}
|
|
1755
|
+
// Don't load if content already exists
|
|
1756
|
+
if (tab.content) {
|
|
1757
|
+
return false;
|
|
1758
|
+
}
|
|
1755
1759
|
return true;
|
|
1756
1760
|
};
|
|
1757
1761
|
const getActiveTabId$1 = state => {
|
|
@@ -2349,7 +2353,7 @@ const getMenuEntries$1 = state => {
|
|
|
2349
2353
|
id: 'tabCloseToTheRight',
|
|
2350
2354
|
label: closeToTheRight()
|
|
2351
2355
|
}, {
|
|
2352
|
-
command: 'Main.
|
|
2356
|
+
command: 'Main.closeAll',
|
|
2353
2357
|
flags: None,
|
|
2354
2358
|
id: 'tabCloseAll',
|
|
2355
2359
|
label: closeAll()
|