Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

fix label store (#303)

Hayden859d3b9ffe36
diff --git a/frontend/stores/labels.ts b/frontend/stores/labels.ts
index acddf2c0..05988d66 100644
--- a/frontend/stores/labels.ts
+++ b/frontend/stores/labels.ts
@@ -18,6 +18,8 @@ export const useLabelStore = defineStore("labels", {
if (result.error) {
console.error(result.error);
}
+
+ this.allLabels = result.data.items;
});
}
return state.allLabels ?? [];