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