mirror of
https://github.com/zen-browser/desktop.git
synced 2026-09-02 19:53:34 +00:00
gh-15191: Fixed collapse indicator still showing when deleting a folder (gh-15192)
This commit is contained in:
@@ -287,6 +287,12 @@ export class nsZenWorkspace extends MozXULElement {
|
||||
|
||||
this.addEventListener("TabPinned", tabPinCallback);
|
||||
this.addEventListener("TabUnpinned", tabPinCallback);
|
||||
this.addEventListener("TabGroupRemovedFromDOM", () => {
|
||||
// Wait for the group to be removed from the DOM.
|
||||
setTimeout(() => {
|
||||
tabPinCallback();
|
||||
});
|
||||
});
|
||||
this.addEventListener("TabClose", event => {
|
||||
if (event.target.pinned) {
|
||||
tabPinCallback();
|
||||
|
||||
Reference in New Issue
Block a user