From c9aefa81ca1950121d2357fc66afe15eb400f537 Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Fri, 15 Mar 2024 00:13:40 +0000 Subject: Fix eslint errors --- components/editor/EditorOptionsPanel.vue | 5 +- components/editor/EditorSidebar.vue | 41 +++++--- components/editor/EditorSidebarCategory.vue | 16 ++- components/editor/EditorSidebarItem.vue | 2 +- .../editor/EditorSidebarMainConfiguration.vue | 6 +- components/editor/EditorSidebarQuest.vue | 2 +- .../EditorCategoryChildrenOptionsPanel.vue | 3 +- .../editor/category/EditorCategoryOptionsPanel.vue | 7 +- .../editor/quest/EditorQuestOptionsPanel.vue | 108 ++++++++++++++------- .../editor/quest/EditorQuestTasksOptionsPanel.vue | 34 +++++-- .../editor/quest/modal/EditorQuestModalDelete.vue | 14 ++- .../quest/modal/EditorQuestModalDuplicate.vue | 12 ++- .../editor/quest/modal/EditorQuestModalRename.vue | 12 ++- .../editor/quest/modal/EditorQuestModalYaml.vue | 23 +++-- components/editor/task/EditorTaskConfiguration.vue | 93 ++++++++++++------ .../editor/task/EditorTaskConfigurationRow.vue | 77 +++++++++++---- .../editor/task/modal/EditorTaskModalChange.vue | 24 +++-- .../editor/task/modal/EditorTaskModalCreate.vue | 25 +++-- 18 files changed, 351 insertions(+), 153 deletions(-) (limited to 'components/editor') diff --git a/components/editor/EditorOptionsPanel.vue b/components/editor/EditorOptionsPanel.vue index 7cf8982..05d1f34 100644 --- a/components/editor/EditorOptionsPanel.vue +++ b/components/editor/EditorOptionsPanel.vue @@ -1,5 +1,4 @@ - + diff --git a/components/editor/category/EditorCategoryOptionsPanel.vue b/components/editor/category/EditorCategoryOptionsPanel.vue index 112b063..c543f73 100644 --- a/components/editor/category/EditorCategoryOptionsPanel.vue +++ b/components/editor/category/EditorCategoryOptionsPanel.vue @@ -17,9 +17,12 @@ const category = computed(() => {
- + v-model="category.permissionRequired" + />
diff --git a/components/editor/quest/EditorQuestOptionsPanel.vue b/components/editor/quest/EditorQuestOptionsPanel.vue index 6c1c8b1..bc5f7ef 100644 --- a/components/editor/quest/EditorQuestOptionsPanel.vue +++ b/components/editor/quest/EditorQuestOptionsPanel.vue @@ -17,7 +17,6 @@ const knownCategories = computed(() => { const knownQuests = computed(() => { return sessionStore.session.quests.map((quest) => quest.id); }); -