mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 20:28:46 -05:00
fixed some things but page param still broken
This commit is contained in:
@@ -30,12 +30,13 @@ import SupermarketEditor from "@/components/model_editors/SupermarketEditor.vue"
|
||||
import SupermarketCategoryEditor from "@/components/model_editors/SupermarketCategoryEditor.vue";
|
||||
import PropertyTypeEditor from "@/components/model_editors/PropertyTypeEditor.vue";
|
||||
import AutomationEditor from "@/components/model_editors/AutomationEditor.vue";
|
||||
import {EditorSupportedModels} from "@/types/Models";
|
||||
|
||||
const emit = defineEmits(['create', 'save', 'delete'])
|
||||
|
||||
const props = defineProps({
|
||||
model: {
|
||||
type: String as PropType<'UnitConversion' | 'AccessToken'| 'InviteLink' | 'UserSpace' | 'MealType' | 'Property' | 'Food' | 'Supermarket' | 'SupermarketCategory' | 'PropertyType' | 'Automation'>,
|
||||
type: String as PropType<EditorSupportedModels>,
|
||||
required: true,
|
||||
},
|
||||
item: {default: null},
|
||||
|
||||
Reference in New Issue
Block a user