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

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