Skip to content

Commit dc24a42

Browse files
committed
Update element when groupId is changed
1 parent 4b6ea9f commit dc24a42

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

webextensions/common/Tab.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1969,8 +1969,6 @@ export default class Tab {
19691969
}
19701970

19711971
this.setAttribute(Constants.kGROUP_ID, this.tab.groupId);
1972-
//const win = TabsStore.windows.get(this.tab.windowId);
1973-
//const group = win.tabGroups.get(this.tab.groupId);
19741972
}
19751973

19761974

webextensions/sidebar/sidebar-tabs.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ function tryApplyUpdate(update) {
581581

582582
if ('groupId' in update.updatedProperties) {
583583
tab.$TST.onNativeGroupModified();
584+
tab.$TST.updateElement(TabUpdateTarget.TabProperties);
584585
}
585586
}
586587

0 commit comments

Comments
 (0)