mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-11-03 10:43:40 -05:00
refactor(frontend): 💄 Imrove UI for parser
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user