mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-02 08:34:17 -05:00
feat: Migrate to Nuxt 3 framework (#5184)
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com> Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { computed, Ref } from "@nuxtjs/composition-api";
|
||||
import { Recipe } from "~/lib/api/types/recipe";
|
||||
import { HouseholdSummary } from "~/lib/api/types/household";
|
||||
import { UserOut } from "~/lib/api/types/user";
|
||||
import { computed } from "vue";
|
||||
import type { Recipe } from "~/lib/api/types/recipe";
|
||||
import type { HouseholdSummary } from "~/lib/api/types/household";
|
||||
import type { UserOut } from "~/lib/api/types/user";
|
||||
|
||||
export function useRecipePermissions(
|
||||
recipe: Recipe,
|
||||
@@ -40,5 +40,5 @@ export function useRecipePermissions(
|
||||
|
||||
return {
|
||||
canEditRecipe,
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user