Skip to content

Commit

Permalink
added a calendar short url
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Nov 8, 2024
1 parent fd0a150 commit a39121d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions webclient/app/pages/calendar/[id].vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<script setup lang="ts">
onMounted(async () => {
const route = useRoute();
const localePath = useLocalePath();
await navigateTo({
path: localePath(`/view/${route.params.id}`),
query: { "calendar[]": route.params.id },
replace: true,
});
});
</script>

0 comments on commit a39121d

Please sign in to comment.