Skip to content

Commit e83ca18

Browse files
authored
Merge pull request #4832 from manuelmeister/feature/add-help-navigation
Fix sidebar meta links on mobile
2 parents 38deb1c + 10ed1be commit e83ca18

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

frontend/src/components/layout/SidebarListItem.vue

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<v-list-item link :to="to" @click="$emit('click', $event)">
2+
<v-list-item link :to="to" :href="href" v-on="$listeners">
33
<slot name="pre">
44
<v-list-item-icon v-if="!hideAvatar">
55
<v-icon v-if="icon">{{ icon }}</v-icon>
@@ -25,6 +25,7 @@ export default {
2525
hideAvatar: { type: Boolean, default: false },
2626
hideChevron: { type: Boolean, default: false },
2727
to: { type: [String, Object], default: null },
28+
href: { type: [String, Object], default: null },
2829
},
2930
}
3031
</script>

frontend/src/views/camp/navigation/mobile/NavSidebar.vue

+2
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,14 @@
8686
icon="mdi-help-circle-outline"
8787
:href="helpLink"
8888
target="_blank"
89+
hide-chevron
8990
/>
9091
<SidebarListItem
9192
:title="$tc('global.navigation.news')"
9293
icon="mdi-script-text-outline"
9394
:href="newsLink"
9495
target="_blank"
96+
hide-chevron
9597
/>
9698
</v-list>
9799
<div class="mt-auto">

0 commit comments

Comments
 (0)