forked from mirrors/homebox
fix label store (#303)
This commit is contained in:
parent
6cfa6c9fc8
commit
859d3b9ffe
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ export const useLabelStore = defineStore("labels", {
|
|||
if (result.error) {
|
||||
console.error(result.error);
|
||||
}
|
||||
|
||||
this.allLabels = result.data.items;
|
||||
});
|
||||
}
|
||||
return state.allLabels ?? [];
|
||||
|
|
Loading…
Reference in a new issue