gh-15191: Fixed collapse indicator still showing when deleting a folder (gh-15192)

This commit is contained in:
mr. m
2026-09-01 13:51:06 +02:00
committed by GitHub
parent faafff667e
commit bb023ac5b1

View File

@@ -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();