diff --git a/client/components/app/ConfigSideNav.vue b/client/components/app/ConfigSideNav.vue index 57c9f66c..2321c4a3 100644 --- a/client/components/app/ConfigSideNav.vue +++ b/client/components/app/ConfigSideNav.vue @@ -38,6 +38,12 @@ export default { userIsAdminOrUp() { return this.$store.getters['user/getIsAdminOrUp'] }, + user() { + return this.$store.state.user.user || {} + }, + userId() { + return this.user.id + }, configRoutes() { if (!this.userIsAdminOrUp) { return [ @@ -87,6 +93,11 @@ export default { title: 'Your Stats', path: '/config/stats' }) + configRoutes.push({ + id: 'config-users-id-sessions', + title: 'Your Sessions', + path: `/config/users/${this.userId}/sessions` + }) } return configRoutes diff --git a/client/components/player/PlayerPlaybackControls.vue b/client/components/player/PlayerPlaybackControls.vue index e9322a09..2b348d41 100644 --- a/client/components/player/PlayerPlaybackControls.vue +++ b/client/components/player/PlayerPlaybackControls.vue @@ -2,18 +2,21 @@