move middleware for manage data page to parrent component

This commit is contained in:
Kuchenpirat
2024-02-02 14:58:39 +00:00
parent 0301713214
commit e7f5a4adff
8 changed files with 1 additions and 7 deletions

View File

@@ -73,7 +73,6 @@ 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 = {