mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 06:23:34 -07:00
lint
This commit is contained in:
parent
ef0e7b1f9a
commit
c22ada81c3
2 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
:ripple="false"
|
:ripple="false"
|
||||||
:class="[
|
:class="[
|
||||||
isFlat ? 'mx-auto flat' : 'mx-auto',
|
isFlat ? 'mx-auto flat' : 'mx-auto',
|
||||||
{ 'disable-highlight': disableHighlight }
|
{ 'disable-highlight': disableHighlight },
|
||||||
]"
|
]"
|
||||||
:style="{ cursor }"
|
:style="{ cursor }"
|
||||||
hover
|
hover
|
||||||
|
|
|
@ -243,8 +243,8 @@ export default defineNuxtComponent({
|
||||||
};
|
};
|
||||||
|
|
||||||
async function getRecipes(recipeIds: string[]): Promise<Recipe[]> {
|
async function getRecipes(recipeIds: string[]): Promise<Recipe[]> {
|
||||||
const qf = "id IN [" + recipeIds.map((id) => `"${id}"`).join(", ") + "]";
|
const qf = "id IN [" + recipeIds.map(id => `"${id}"`).join(", ") + "]";
|
||||||
const { data } = await api.recipes.getAll(1, -1, { queryFilter: qf })
|
const { data } = await api.recipes.getAll(1, -1, { queryFilter: qf });
|
||||||
return data?.items || [];
|
return data?.items || [];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue