diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2024-03-13 00:17:32 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2024-03-13 00:17:32 +0000 |
| commit | 543aa0cd4a461285298d33a90ab3f11a9f084ca5 (patch) | |
| tree | ffbaec5f495b2cf8b891690642df161464ac6e95 /components/editor/EditorSidebarItem.vue | |
| parent | a072c91cc0dc26e417c51f666e8547e08ef40942 (diff) | |
Add home page
Diffstat (limited to 'components/editor/EditorSidebarItem.vue')
| -rw-r--r-- | components/editor/EditorSidebarItem.vue | 4 |
1 files changed, 2 insertions, 2 deletions
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> |
