mirror of
https://github.com/hay-kot/homebox.git
synced 2024-12-22 06:46:32 +00:00
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) {
|
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