aboutsummaryrefslogtreecommitdiffstats
path: root/components/editor/Sidebar.vue
diff options
context:
space:
mode:
Diffstat (limited to 'components/editor/Sidebar.vue')
-rw-r--r--components/editor/Sidebar.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/editor/Sidebar.vue b/components/editor/Sidebar.vue
index 20168df..c48f3b4 100644
--- a/components/editor/Sidebar.vue
+++ b/components/editor/Sidebar.vue
@@ -29,7 +29,7 @@ const setSelectedType = (type: 'quests' | 'items') => {
</span>
</span>
</div>
- <div id="quests">
+ <div id="quests" v-if="currentType === 'quests'">
<EditorSidebarCategory v-for="category in session.categories" :key="category.id" :category="category" />
<EditorSidebarQuest
v-for="quest in session.quests.filter((q) => (!session.categories.some((c) => c.id === q.options.category)))"
@@ -86,8 +86,8 @@ const setSelectedType = (type: 'quests' | 'items') => {
}
#quests {
- max-height: calc(100vh - 73px - 46px);
- overflow-y: scroll;
+ max-height: calc(100vh - 73px - 46px - 30px);
+ overflow-y: auto;
}
#configuration-container {