change path in /community

This commit is contained in:
ogerly 2023-01-10 08:44:33 +01:00
parent d1047ab6e7
commit 7cde62b843
2 changed files with 5 additions and 5 deletions

View File

@ -2,19 +2,19 @@
<div class="nav-community container">
<b-row class="nav-row">
<b-col cols="12" lg="4" md="4" class="px-0">
<b-btn active-class="btn-active" block variant="link" to="#edit">
<b-btn active-class="btn-active" block variant="link" to="/community#edit">
<b-icon icon="pencil" class="mr-2" />
{{ $t('community.submitContribution') }}
</b-btn>
</b-col>
<b-col cols="12" lg="4" md="4" class="px-0">
<b-btn active-class="btn-active" block variant="link" to="#my">
<b-btn active-class="btn-active" block variant="link" to="/community#my">
<b-icon icon="person" class="mr-2" />
{{ $t('community.myContributions') }}
</b-btn>
</b-col>
<b-col cols="12" lg="4" md="4" class="px-0">
<b-btn active-class="btn-active" block variant="link" to="#all">
<b-btn active-class="btn-active" block variant="link" to="/community#all">
<b-icon icon="people" class="mr-2" />
{{ $t('community.community') }}
</b-btn>

View File

@ -259,7 +259,7 @@ export default {
if (this.items.find((item) => item.state === 'IN_PROGRESS')) {
this.tabIndex = 1
if (this.$route.hash !== '#my') {
this.$router.push({ path: '#my' })
this.$router.push({ path: '/community#my' })
}
this.toastInfo('Du hast eine Rückfrage auf eine Contribution. Bitte beantworte diese!')
}
@ -315,7 +315,7 @@ export default {
})
this.updateTransactions(0)
this.tabIndex = 1
this.$router.push({ path: '#my' })
this.$router.push({ path: '/community#my' })
},
}
</script>