From 543aa0cd4a461285298d33a90ab3f11a9f084ca5 Mon Sep 17 00:00:00 2001
From: Leonardo Bishop <me@leonardobishop.com>
Date: Wed, 13 Mar 2024 00:17:32 +0000
Subject: Add home page

---
 components/editor/EditorSidebarItem.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

diff --git a/components/editor/EditorSidebarItem.vue b/components/editor/EditorSidebarItem.vue
index 4696bb1..55f81d0 100644
--- a/components/editor/EditorSidebarItem.vue
+++ b/components/editor/EditorSidebarItem.vue
@@ -10,11 +10,11 @@ const { item } = toRefs(props);
 const route = useRoute();
 
 const setSelectedItem = () => {
-  navigateTo({ path: `/item/${item.value.id}` })
+  navigateToEditorPane('item', item.value.id);
 };
 
 const selected = computed(() => {
-  return route.path.startsWith('/item') && route.params.id === item.value.id;
+  return route.path.startsWith('/editor/item') && route.params.id === item.value.id;
 });
 </script>
 
-- 
cgit v1.2.3-70-g09d2

