consolen einträge gelöscht.

This commit is contained in:
Tim Gröger 2020-06-05 01:24:44 +02:00
parent 6b27441ac9
commit d3b980bd02
3 changed files with 5 additions and 11 deletions

View File

@ -8,12 +8,12 @@
</v-card-title> </v-card-title>
<v-card-text> <v-card-text>
<v-expand-transition> <v-expand-transition>
<v-row align="center" justify="center" v-if="dayLoading"> <v-row align="center" justify="center" v-if="day.loading">
<v-progress-circular indeterminate color="grey" /> <v-progress-circular indeterminate color="grey" />
</v-row> </v-row>
</v-expand-transition> </v-expand-transition>
<v-expand-transition> <v-expand-transition>
<div v-show="!dayLoading"> <div v-show="!day.loading">
<div <div
v-for="(jobkinddateitem, index) in day.jobkinddate" v-for="(jobkinddateitem, index) in day.jobkinddate"
:key="index" :key="index"
@ -43,7 +43,7 @@
</div> </div>
</v-expand-transition> </v-expand-transition>
</v-card-text> </v-card-text>
<v-card-actions class="text--secondary" v-if="!dayLoading" :key="update"> <v-card-actions class="text--secondary" v-if="!day.loading" :key="update">
<v-spacer /> <v-spacer />
<v-menu <v-menu
v-model="menu" v-model="menu"
@ -94,7 +94,7 @@
v-for="(invite, index) in getInvites(day.date)" v-for="(invite, index) in getInvites(day.date)"
:key="index" :key="index"
> >
<v-chip v-on="on" style="margin: 5px"> <v-chip style="margin: 5px">
{{ invite.to_user.firstname }} {{ invite.to_user.firstname }}
{{ invite.to_user.lastname }} {{ invite.to_user.lastname }}
</v-chip> </v-chip>
@ -152,7 +152,7 @@
v-for="(request, index) in getRequests(day.date)" v-for="(request, index) in getRequests(day.date)"
:key="index" :key="index"
> >
<v-chip v-on="on" style="margin: 5px"> <v-chip style="margin: 5px">
{{ request.to_user.firstname }} {{ request.to_user.firstname }}
{{ request.to_user.lastname }} {{ request.to_user.lastname }}
</v-chip> </v-chip>
@ -344,7 +344,6 @@ export default {
return jobkinddate.job_kind return jobkinddate.job_kind
}, },
filteredDBUsersWithJobKind() { filteredDBUsersWithJobKind() {
console.log(this.day.jobkinddate)
var retVal = this.filteredDBUsers() var retVal = this.filteredDBUsers()
var job_kind = this.getJob_Kind() var job_kind = this.getJob_Kind()

View File

@ -32,7 +32,6 @@ const mutations = {
}, },
setTokens: (state, tokens) => { setTokens: (state, tokens) => {
state.tokens = tokens state.tokens = tokens
console.log(state.tokens)
}, },
createAmount(creditList) { createAmount(creditList) {
let amount = { let amount = {
@ -328,7 +327,6 @@ const actions = {
const response = await axios.get(url.user.getAccessTokens, {headers: {Token: rootState.login.user.accessToken}}) const response = await axios.get(url.user.getAccessTokens, {headers: {Token: rootState.login.user.accessToken}})
commit('setTokens', response.data) commit('setTokens', response.data)
dispatch('getLifeTime', null, { root: true }) dispatch('getLifeTime', null, { root: true })
console.log('hier bin ich')
} catch (e) { } catch (e) {
if (e.response) if (e.response)
if (e.response.status === 401) dispatch('logout', null, { root: true }) if (e.response.status === 401) dispatch('logout', null, { root: true })
@ -339,7 +337,6 @@ const actions = {
const response = await axios.post(url.user.getAccessTokens, token,{headers: {Token: rootState.login.user.accessToken}}) const response = await axios.post(url.user.getAccessTokens, token,{headers: {Token: rootState.login.user.accessToken}})
commit('setTokens', response.data) commit('setTokens', response.data)
dispatch('getLifeTime', null, { root: true }) dispatch('getLifeTime', null, { root: true })
console.log('hier bin ich')
} catch (e) { } catch (e) {
if (e.response) if (e.response)
if (e.response.status === 401) dispatch('logout', null, { root: true }) if (e.response.status === 401) dispatch('logout', null, { root: true })

View File

@ -79,7 +79,6 @@ const actions = {
const response = await axios.get(url.getUsers, { const response = await axios.get(url.getUsers, {
headers: { Token: rootState.login.user.accessToken } headers: { Token: rootState.login.user.accessToken }
}) })
console.log(response.data)
commit('setUsers', response.data) commit('setUsers', response.data)
commit('setUsersLoading', false) commit('setUsersLoading', false)
dispatch('getLifeTime', null, { root: true }) dispatch('getLifeTime', null, { root: true })
@ -95,7 +94,6 @@ const actions = {
const response = await axios.get(url.getUsers + '?extern=1', { const response = await axios.get(url.getUsers + '?extern=1', {
headers: { Token: rootState.login.user.accessToken } headers: { Token: rootState.login.user.accessToken }
}) })
console.log(response.data)
commit('setUsers', response.data) commit('setUsers', response.data)
commit('setUsersLoading', false) commit('setUsersLoading', false)
dispatch('getLifeTime', null, { root: true }) dispatch('getLifeTime', null, { root: true })