gh-13879: fix sidebar UI breaking on cancelling space creation (gh-13880)

This commit is contained in:
Ashvin Jangid
2026-05-27 01:22:37 +05:30
committed by GitHub
parent b94dd3b927
commit e82012ff1c

View File

@@ -261,6 +261,7 @@ class nsZenWorkspaceCreation extends MozXULElement {
}
async onCancelButtonCommand() {
document.documentElement.removeAttribute("zen-creating-workspace");
await gZenWorkspaces.changeWorkspaceWithID(this.previousWorkspaceId);
}