From a4052ffee8bc7c6c8a69eba5120b5c6c2d951b0f Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Tue, 12 Mar 2024 19:18:52 +0000 Subject: Add items --- pages/category/[id].vue | 53 ++------------------------------------------- pages/item/[id].vue | 52 ++++++++++++++++++++++++++++++++++++++++++++ pages/quest/[id].vue | 57 ++++--------------------------------------------- 3 files changed, 58 insertions(+), 104 deletions(-) create mode 100644 pages/item/[id].vue (limited to 'pages') diff --git a/pages/category/[id].vue b/pages/category/[id].vue index 3570a15..da68bb5 100644 --- a/pages/category/[id].vue +++ b/pages/category/[id].vue @@ -15,7 +15,7 @@ const categoryName = sessionStore.getCategoryById(categoryId)?.display.name; \ No newline at end of file diff --git a/pages/quest/[id].vue b/pages/quest/[id].vue index a9b2074..080f232 100644 --- a/pages/quest/[id].vue +++ b/pages/quest/[id].vue @@ -2,7 +2,7 @@ import { useSessionStore } from '@/stores/session'; import { computed, ref } from 'vue'; import { navigateToEditorPane, stripColorCodes } from '@/lib/util'; -import type Yaml from '~/components/editor/quest/modal/Yaml.vue'; +import type EditorQuestModalYaml from '~/components/editor/quest/modal/EditorQuestModalYaml.vue'; definePageMeta({ layout: 'editor' @@ -24,7 +24,7 @@ const categoryFromSelectedQuest = computed(() => { } }); -const yamlModal = ref | null>(null); +const yamlModal = ref | null>(null); const showDeleteModal = ref(false); const showRenameModal = ref(false); const showDuplicateModal = ref(false); @@ -53,7 +53,7 @@ const showYaml = () => {