feat: Run a migration for pinned tabs renamed titles, b=no-bug, c=common

This commit is contained in:
mr. m
2026-01-13 13:31:52 +01:00
parent 902651a196
commit 2b4e46ce4e
5 changed files with 77 additions and 36 deletions

View File

@@ -21,7 +21,7 @@ class ZenSessionStore extends nsZenPreloadedFeature {
if (tabData.zenSyncId || tabData.zenPinnedId) {
tab.setAttribute("id", tabData.zenSyncId || tabData.zenPinnedId);
}
if (tabData.zenStaticLabel) {
if (typeof tabData.zenStaticLabel === "string") {
tab.zenStaticLabel = tabData.zenStaticLabel;
}
if (tabData.zenHasStaticIcon && tabData.image) {