Skip to content

Commit

Permalink
Fix navigation bug
Browse files Browse the repository at this point in the history
This commit fixes an error on sub category navigation in the detail / edit view.
  • Loading branch information
gappc committed Jan 14, 2024
1 parent b7a4b9b commit a28bb2c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ const {
quickLocation,
} = storeToRefs(useDatasetLocationStore());

const hash = computed(() => useRouter().currentRoute.value.hash);
const { currentRoute } = useRouter();

const hash = computed(() => currentRoute.value.hash);

// Combine query params from TableView with ones from the current route.
// This is needed to keep the query params when switching between DetailView
Expand Down

0 comments on commit a28bb2c

Please sign in to comment.