mirror of
https://github.com/zen-browser/desktop
synced 2026-04-25 17:15:00 +02:00
gh-10649: Avoid making unnecessary sidebar duplications (gh-13299)
This commit is contained in:
@@ -712,10 +712,7 @@ export class nsZenSessionManager {
|
||||
// We only want to collect the sidebar data once from
|
||||
// a single window, as all windows share the same
|
||||
// sidebar data.
|
||||
let sidebarData = this.#sidebar;
|
||||
if (!sidebarData) {
|
||||
sidebarData = {};
|
||||
}
|
||||
let sidebarData = {};
|
||||
|
||||
sidebarData.lastCollected = Date.now();
|
||||
this.#collectTabsData(sidebarData, aStateWindows);
|
||||
|
||||
Reference in New Issue
Block a user