From a51aefaeaa855f209ec608743a44a824fd2d75ed Mon Sep 17 00:00:00 2001
From: Leonardo Bishop <me@leonardobishop.com>
Date: Wed, 13 Mar 2024 22:27:14 +0000
Subject: Fix quest not being highlighted when selected

---
 components/editor/EditorSidebarQuest.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'components/editor/EditorSidebarQuest.vue')

diff --git a/components/editor/EditorSidebarQuest.vue b/components/editor/EditorSidebarQuest.vue
index c40b22c..fb21042 100644
--- a/components/editor/EditorSidebarQuest.vue
+++ b/components/editor/EditorSidebarQuest.vue
@@ -15,7 +15,7 @@ const setSelectedQuest = () => {
 };
 
 const selected = computed(() => {
-  return route.path.startsWith('/quest') && route.params.id === quest.value.id;
+  return route.path.startsWith('/editor/quest') && route.params.id === quest.value.id;
 });
 </script>
 
-- 
cgit v1.2.3-70-g09d2

