Skip to content

Commit

Permalink
fix(snippets): await fetch snippets by click on system folders
Browse files Browse the repository at this point in the history
  • Loading branch information
antonreshetov committed Jul 7, 2022
1 parent 3a51e69 commit 4f2a203
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/store/snippets.ts
Expand Up @@ -222,10 +222,10 @@ export const useSnippetStore = defineStore('snippets', {
}
}
},
setSnippetsByAlias (alias: SystemFolderAlias) {
async setSnippetsByAlias (alias: SystemFolderAlias) {
const folderStore = useFolderStore()

this.getSnippets()
await this.getSnippets()

let snippets: SnippetWithFolder[] = []

Expand Down

0 comments on commit 4f2a203

Please sign in to comment.