This commit is contained in:
Kekskurse 2019-07-23 18:41:49 +02:00
parent 8e79961d4d
commit 15f0d4ab69
2 changed files with 25 additions and 2 deletions

View file

@ -50,7 +50,7 @@
v-on="on" v-on="on"
flat flat
> >
Profile {{$store.getters.getMe["username"]}}
</v-btn> </v-btn>
</template> </template>
<v-list> <v-list>
@ -59,6 +59,29 @@
</v-list-tile> </v-list-tile>
</v-list> </v-list>
</v-menu> </v-menu>
<v-menu offset-y v-if="this.$store.state.loggedIn">
<template v-slot:activator="{ on }">
<v-btn
v-on="on"
flat
>
<v-btn icon>
<v-icon>apps</v-icon>
</v-btn>
</v-btn>
</template>
<v-list>
<v-list-tile @click="">
<v-list-tile-title >KeksAccount</v-list-tile-title>
</v-list-tile>
<v-list-tile @click="">
<v-list-tile-title >Mein Verein</v-list-tile-title>
</v-list-tile>
<v-list-tile @click="">
<v-list-tile-title >Webmail</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
<v-btn <v-btn
v-if="!this.$store.state.loggedIn" v-if="!this.$store.state.loggedIn"

View file

@ -3,7 +3,7 @@ import axios from 'axios'
export default() => { export default() => {
return axios.create({ return axios.create({
baseURL: `http://127.0.0.1:8000/api/`, baseURL: `http://127.0.0.1:8000/api/`,
//baseURL: `https://api.account.keks.cloud/api/`, baseURL: `https://api.account.keks.cloud/api/`,
withCredentials: false, withCredentials: false,
headers: { headers: {
'Accept': 'application/json', 'Accept': 'application/json',