From 859d3b9ffe368c8a916c1fe952fa42a30d3bf929 Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Sat, 18 Feb 2023 09:47:04 -0900 Subject: [PATCH] fix label store (#303) --- frontend/stores/labels.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/stores/labels.ts b/frontend/stores/labels.ts index acddf2c..05988d6 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 ?? [];