feat: Remove null-setting for split view data on restore, b=no-bug, c=no-component

This commit is contained in:
mr. m
2026-02-06 14:10:02 +01:00
parent 531be839c9
commit c9474cecc0

View File

@@ -566,7 +566,6 @@ export class nsZenSessionManager {
// If we should only sync the pinned tabs, we should only edit the unpinned
// tabs in the window data and keep the pinned tabs from the window data,
// as they should be the same as the ones in the sidebar.
sidebar.splitViewData = null;
if (lazy.gSyncOnlyPinnedTabs) {
let pinnedTabs = (sidebar.tabs || []).filter((tab) => tab.pinned);
let unpinedWindowTabs = (aWindowData.tabs || []).filter((tab) => !tab.pinned);