fix: removeTagFilter non importé + null-guard sur _tabBar
This commit is contained in:
+2
-2
@@ -1978,7 +1978,7 @@ export const TabManager = {
|
||||
if (this._tabs.length === 0) {
|
||||
this._activeTabId = null;
|
||||
this._showDashboard();
|
||||
this._tabBar.hidden = true;
|
||||
if (this._tabBar) this._tabBar.hidden = true;
|
||||
} else if (this._activeTabId === tabId) {
|
||||
// Activate adjacent tab
|
||||
const newIdx = Math.min(idx, this._tabs.length - 1);
|
||||
@@ -1995,7 +1995,7 @@ export const TabManager = {
|
||||
this._dirtyTabs.clear();
|
||||
this._activeTabId = null;
|
||||
this._showDashboard();
|
||||
this._tabBar.hidden = true;
|
||||
if (this._tabBar) this._tabBar.hidden = true;
|
||||
},
|
||||
|
||||
/** Close tabs to the right */
|
||||
|
||||
Reference in New Issue
Block a user