aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2024-03-13 22:27:14 +0000
committerLeonardo Bishop <me@leonardobishop.com>2024-03-13 22:27:14 +0000
commita51aefaeaa855f209ec608743a44a824fd2d75ed (patch)
tree556413e0d594a415d8440a00bb8d387d7355ef70
parentdfbc6fafa3de3a2eb9c9a70937ac7ec2434fe68c (diff)
Fix quest not being highlighted when selected
-rw-r--r--components/editor/EditorSidebarQuest.vue2
1 files changed, 1 insertions, 1 deletions
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>