mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-02 20:15:24 +02:00
manage-data pages
This commit is contained in:
parent
02997cd36e
commit
19e776a772
10 changed files with 32 additions and 14 deletions
|
@ -73,6 +73,7 @@ import { useCategoryStore, useCategoryData } from "~/composables/store";
|
|||
import { RecipeCategory } from "~/lib/api/types/admin";
|
||||
|
||||
export default defineComponent({
|
||||
middleware: ["auth", "can-organize-only"],
|
||||
setup() {
|
||||
const { i18n } = useContext();
|
||||
const tableConfig = {
|
||||
|
|
|
@ -201,8 +201,8 @@ import { useFoodStore, useLabelStore } from "~/composables/store";
|
|||
import { VForm } from "~/types/vuetify";
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
components: { MultiPurposeLabel, RecipeDataAliasManagerDialog },
|
||||
middleware: ["auth", "can-organize-only"],
|
||||
setup() {
|
||||
const userApi = useUserApi();
|
||||
const { i18n } = useContext();
|
||||
|
|
|
@ -122,6 +122,7 @@ import { useLabelData, useLabelStore } from "~/composables/store";
|
|||
|
||||
export default defineComponent({
|
||||
components: { MultiPurposeLabel },
|
||||
middleware: ["auth", "can-organize-only"],
|
||||
setup() {
|
||||
const userApi = useUserApi();
|
||||
const { i18n } = useContext();
|
||||
|
|
|
@ -176,6 +176,7 @@ enum MODES {
|
|||
|
||||
export default defineComponent({
|
||||
components: { RecipeDataTable, RecipeOrganizerSelector, GroupExportData, RecipeSettingsSwitches },
|
||||
middleware: ["auth", "can-organize-only"],
|
||||
scrollToTop: true,
|
||||
setup() {
|
||||
const { getAllRecipes, refreshRecipes } = useRecipes(true, true);
|
||||
|
|
|
@ -73,6 +73,7 @@ import { useTagStore, useTagData } from "~/composables/store";
|
|||
import { RecipeTag } from "~/lib/api/types/admin";
|
||||
|
||||
export default defineComponent({
|
||||
middleware: ["auth", "can-organize-only"],
|
||||
setup() {
|
||||
const { i18n } = useContext();
|
||||
const tableConfig = {
|
||||
|
|
|
@ -80,6 +80,7 @@ import { useToolStore, useToolData } from "~/composables/store";
|
|||
import { RecipeTool } from "~/lib/api/types/admin";
|
||||
|
||||
export default defineComponent({
|
||||
middleware: ["auth", "can-organize-only"],
|
||||
setup() {
|
||||
const { i18n } = useContext();
|
||||
const tableConfig = {
|
||||
|
|
|
@ -218,6 +218,7 @@ import { VForm } from "~/types/vuetify";
|
|||
|
||||
export default defineComponent({
|
||||
components: { RecipeDataAliasManagerDialog },
|
||||
middleware: ["auth", "can-organize-only"],
|
||||
setup() {
|
||||
const userApi = useUserApi();
|
||||
const { i18n } = useContext();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue