This commit is contained in:
Kekskurse 2019-11-22 13:25:23 +01:00
parent afdbf05d16
commit 9878d251e7

View file

@ -16,6 +16,49 @@
<v-list-item <v-list-item
link link
:to="{path: '/login'}"
v-if="!this.$store.state.loggedIn"
>
<v-list-item-icon>
<v-icon>mdi-login</v-icon>
</v-list-item-icon>
<v-list-item-content>
<v-list-item-title>Login</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item
link
:to="{path: '/invited'}"
v-if="!this.$store.state.loggedIn && this.$store.getters.getSettingValue('invites')"
>
<v-list-item-icon>
<v-icon>mdi-account-plus</v-icon>
</v-list-item-icon>
<v-list-item-content>
<v-list-item-title>Invited</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item
link
:to="{path: '/register'}"
v-if="!this.$store.state.loggedIn && this.$store.getters.getSettingValue('registration_possible')"
>
<v-list-item-icon>
<v-icon>mdi-account-plus</v-icon>
</v-list-item-icon>
<v-list-item-content>
<v-list-item-title>Register</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-list-item
link
v-if="this.$store.state.loggedIn"
:to="{path: '/dashboard'}" :to="{path: '/dashboard'}"
> >
<v-list-item-icon> <v-list-item-icon>
@ -29,6 +72,7 @@
<v-list-item <v-list-item
link link
v-if="this.$store.state.loggedIn && this.$store.getters.getMe.developer"
:to="{path: '/apps'}" :to="{path: '/apps'}"
> >
<v-list-item-icon> <v-list-item-icon>
@ -42,6 +86,7 @@
<v-list-group <v-list-group
no-action no-action
v-if="this.$store.state.loggedIn"
> >
<template v-slot:activator> <template v-slot:activator>
<v-list-item-icon> <v-list-item-icon>