fix label store

This commit is contained in:
Hayden 2023-02-18 09:41:48 -09:00
parent 6cfa6c9fc8
commit 9d182d07b0
No known key found for this signature in database
GPG key ID: 17CF79474E257545

View file

@ -18,6 +18,8 @@ export const useLabelStore = defineStore("labels", {
if (result.error) {
console.error(result.error);
}
this.allLabels = result.data.items;
});
}
return state.allLabels ?? [];