refactor(frontend): 💄 Imrove UI for parser

This commit is contained in:
hay-kot 2021-08-29 17:09:08 -08:00
commit 0b27e8af45
4 changed files with 102 additions and 31 deletions

View file

@ -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();
}