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:
Kristijan Ribarić 2024-10-04 21:43:36 +02:00
parent e366e624d1
commit 1c7bc5c501

View file

@ -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) {