mirror of
https://github.com/zen-browser/components.git
synced 2025-07-08 17:19:58 +02:00
Fix: Remove unnecessary workspace close after saving
This commit removes a call to `this.closeWorkspacesSubView()` after saving a workspace. The previous behavior caused an error to be thrown because main view was already closed.
This commit is contained in:
parent
e366e624d1
commit
1c7bc5c501
1 changed files with 0 additions and 1 deletions
|
@ -557,7 +557,6 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
||||||
await this.saveWorkspace(workspaceData);
|
await this.saveWorkspace(workspaceData);
|
||||||
Services.obs.notifyObservers(null, "zen-workspace-updated", workspaceData.uuid);
|
Services.obs.notifyObservers(null, "zen-workspace-updated", workspaceData.uuid);
|
||||||
await this._propagateWorkspaceData();
|
await this._propagateWorkspaceData();
|
||||||
this.closeWorkspacesSubView();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
onWorkspaceCreationNameChange(event) {
|
onWorkspaceCreationNameChange(event) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue