mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 15:49:42 +02:00
refactor(frontend): 💄 Imrove UI for parser
This commit is contained in:
parent
f78eb4ec39
commit
0b27e8af45
4 changed files with 102 additions and 31 deletions
|
@ -48,6 +48,7 @@ export const useFoods = function () {
|
|||
const { data } = await api.foods.createOne(workingFoodData);
|
||||
if (data && foodStore?.value) {
|
||||
foodStore.value.push(data);
|
||||
return data;
|
||||
} else {
|
||||
this.refreshAll();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue