summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/DashboardPage.vue
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/src/components/DashboardPage.vue')
-rw-r--r--webapp/src/components/DashboardPage.vue8
1 files changed, 5 insertions, 3 deletions
diff --git a/webapp/src/components/DashboardPage.vue b/webapp/src/components/DashboardPage.vue
index 4f7dc03..68c3973 100644
--- a/webapp/src/components/DashboardPage.vue
+++ b/webapp/src/components/DashboardPage.vue
@@ -47,7 +47,7 @@
<v-toolbar :height="$vuetify.breakpoint.smAndDown ? 56 : 64" dark app :clipped-left="settings.clipped" class="non-selectable" style="z-index: 10;" id="topbar">
<v-toolbar-side-icon class="drawer-icon" @click.stop="toggleDrawer"></v-toolbar-side-icon>
- <div class="logo"><img class="non-draggable hidden-md-and-down" src="@/assets/logo.svg" /></div>
+ <a class="logo" href="/dashboard/home"><img class="non-draggable hidden-md-and-down" src="@/assets/logo.svg" /></a>
<v-spacer></v-spacer>
<v-btn v-if="devMode" icon @click="$store.commit('saveSetting', { name: 'locale', value: settings.locale === 'en' ? 'de' : 'en' })"><v-icon>language</v-icon></v-btn>
<v-btn icon @click="$store.commit('saveSetting', { name: 'dark', value: !settings.dark })"><v-icon>invert_colors</v-icon></v-btn>
@@ -90,10 +90,11 @@
<script>
import { mapState, mapMutations, mapGetters } from 'vuex'
+import AccountModule from '@/components/AccountModule'
import BackToTopButton from '@/components/BackToTopButton'
+import HomeModule from '@/components/HomeModule'
import NotificationsAlerts from '@/components/NotificationsAlerts'
import NotificationsSnackbars from '@/components/NotificationsSnackbars'
-import AccountModule from '@/components/AccountModule'
import SettingsModule from '@/components/SettingsModule'
import dashboardCategories from '@/config/dashboard'
@@ -102,7 +103,8 @@ export default {
routes () {
return [
{ path: 'account', component: AccountModule },
- { path: 'settings', component: SettingsModule }
+ { path: 'settings', component: SettingsModule },
+ { path: 'home', component: HomeModule }
]
},
components: {