Skip to content

Commit

Permalink
Merge pull request #4832 from manuelmeister/feature/add-help-navigation
Browse files Browse the repository at this point in the history
Fix sidebar meta links on mobile
  • Loading branch information
BacLuc authored Mar 26, 2024
2 parents 38deb1c + 10ed1be commit e83ca18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/components/layout/SidebarListItem.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<v-list-item link :to="to" @click="$emit('click', $event)">
<v-list-item link :to="to" :href="href" v-on="$listeners">
<slot name="pre">
<v-list-item-icon v-if="!hideAvatar">
<v-icon v-if="icon">{{ icon }}</v-icon>
Expand All @@ -25,6 +25,7 @@ export default {
hideAvatar: { type: Boolean, default: false },
hideChevron: { type: Boolean, default: false },
to: { type: [String, Object], default: null },
href: { type: [String, Object], default: null },
},
}
</script>
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/views/camp/navigation/mobile/NavSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,14 @@
icon="mdi-help-circle-outline"
:href="helpLink"
target="_blank"
hide-chevron
/>
<SidebarListItem
:title="$tc('global.navigation.news')"
icon="mdi-script-text-outline"
:href="newsLink"
target="_blank"
hide-chevron
/>
</v-list>
<div class="mt-auto">
Expand Down

0 comments on commit e83ca18

Please sign in to comment.