mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-25 08:09:41 +02:00
fix(backend): 🐛 Fix CI/CD Linting Failures
This commit is contained in:
parent
abb0b84e22
commit
d1a7ec3b95
15 changed files with 48 additions and 37 deletions
|
@ -1,4 +1,5 @@
|
|||
import { useAsync, ref } from "@nuxtjs/composition-api";
|
||||
import {set } from "@vueuse/core"
|
||||
import { useAsyncKey } from "./use-utils";
|
||||
import { useApiSingleton } from "~/composables/use-api";
|
||||
import { Recipe } from "~/types/api-types/recipe";
|
||||
|
@ -29,7 +30,8 @@ export const useRecipes = (all = false, fetchRecipes = true) => {
|
|||
async function refreshRecipes() {
|
||||
const { data } = await api.recipes.getAll(start, end);
|
||||
if (data) {
|
||||
recipes.value = data;
|
||||
set(recipes, data);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue