mirror of
https://github.com/hay-kot/homebox.git
synced 2025-07-19 09:00:29 +00:00
fix: refactoring errors (#359)
* #352 - require one date to be set to save * fix many type regressions
This commit is contained in:
parent
4a8ba6231d
commit
97fb94d231
22 changed files with 164 additions and 289 deletions
|
@ -19,7 +19,7 @@ export const useLabelStore = defineStore("labels", {
|
|||
console.error(result.error);
|
||||
}
|
||||
|
||||
this.allLabels = result.data.items;
|
||||
this.allLabels = result.data;
|
||||
});
|
||||
}
|
||||
return state.allLabels ?? [];
|
||||
|
@ -32,7 +32,7 @@ export const useLabelStore = defineStore("labels", {
|
|||
return result;
|
||||
}
|
||||
|
||||
this.allLabels = result.data.items;
|
||||
this.allLabels = result.data;
|
||||
return result;
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue