mirror of
https://github.com/zen-browser/components.git
synced 2025-07-07 23:39:59 +02:00
Merge pull request #18 from kristijanribaric/fix/async-workspace-saving
fix: Await workspace save in `changeWorkspace`
This commit is contained in:
commit
c4eb2bc48d
1 changed files with 1 additions and 1 deletions
|
@ -488,7 +488,7 @@ var ZenWorkspaces = {
|
|||
for (let workspace of workspaces.workspaces) {
|
||||
workspace.used = workspace.uuid === window.uuid;
|
||||
}
|
||||
this.unsafeSaveWorkspaces(workspaces);
|
||||
await this.unsafeSaveWorkspaces(workspaces);
|
||||
console.info('ZenWorkspaces: Changing workspace to', window.uuid);
|
||||
for (let i = 0; i < gBrowser.tabs.length; i++) {
|
||||
let tab = gBrowser.tabs[i];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue