diff --git a/frontend/src/App.vue b/frontend/src/App.vue
index 3f1d2cc..404e8af 100644
--- a/frontend/src/App.vue
+++ b/frontend/src/App.vue
@@ -773,7 +773,7 @@ blockquote {
{{$store.state.availableUsers.user3.username}}
{{$store.state.availableUsers.user3.username}}
Add another user
- Logout all users
+ Logout of all users
Not seeing any users?
@@ -1095,6 +1095,7 @@ export default {
this.$store.commit('setExecutive', res.data.executive)
this.$store.commit('setUserId', res.data.id)
this.$store.commit('setBot', res.data.bot)
+ this.$store.commit('setModeler', res.data.modeler)
if(res.data.theme === "dark") {
this.darkTheme()
}
@@ -1151,6 +1152,7 @@ export default {
this.$store.commit('setAdmin', res.data.admin)
this.$store.commit('setDevMode', res.data.developerMode)
this.$store.commit('setTheme', res.data.theme)
+ this.$store.commit('setModeler', res.data.modeler)
})
})
.catch(e => {
@@ -1191,6 +1193,7 @@ export default {
this.$store.commit('setEmailVerified', res.data.emailVerified)
this.$store.commit('setAdmin', res.data.admin)
this.$store.commit('setDevMode', res.data.developerMode)
+ this.$store.commit('setModeler', res.data.modeler)
})
})
.catch(e => {
@@ -1219,6 +1222,7 @@ export default {
this.$store.commit('setAdmin', res.data.admin)
this.$store.commit('setDevMode', res.data.developerMode)
this.$store.commit('setTheme', res.data.theme)
+ this.$store.commit('setModeler', res.data.modeler)
})
})
.catch(e => {
@@ -1305,12 +1309,11 @@ export default {
this.$store.commit('setEmail', res.data.email)
this.$store.commit('setEmailVerified', res.data.emailVerified)
this.$store.commit('setAdmin', res.data.admin)
+ this.$store.commit('setModeler', res.data.modeler)
})
})
.catch(e => {
this.settings.account.email.loadingChange = false
-
- console.log(e)
AjaxErrorHandler(this.$store)(e)
})
.catch(e => {
@@ -1379,6 +1382,7 @@ export default {
this.$store.commit('setTheme', res.data.theme)
this.$store.commit('setExecutive', res.data.executive)
this.$store.commit('setUserId', res.data.id)
+ this.$store.commit('setModeler', res.data.modeler)
this.axios.get(process.env.VUE_APP_APIENDPOINT + process.env.VUE_APP_APIVERSION + '/' + 'kaverti/state')
.then(res => {
this.$store.commit('setSettings', res.data)
@@ -1416,7 +1420,6 @@ export default {
})
.catch(e => {
this.settings.account.deleteAccountLoading = false
- console.log(e)
AjaxErrorHandler(this.$store)(e)
})
},
@@ -1562,6 +1565,7 @@ export default {
this.$store.commit('setExecutive', res.data.executive)
this.$store.commit('setUserId', res.data.id)
this.$store.commit('setBot', res.data.bot)
+ this.$store.commit('setModeler', res.data.modeler)
this.axios.get(process.env.VUE_APP_APIENDPOINT + process.env.VUE_APP_APIVERSION + '/' + 'kaverti/state')
.then(res => {
this.$store.commit('setSettings', res.data)
@@ -1599,6 +1603,7 @@ export default {
this.$store.commit('setExecutive', res.data.executive)
this.$store.commit('setUserId', res.data.id)
this.$store.commit('setBot', res.data.bot)
+ this.$store.commit('setModeler', res.data.modeler)
this.axios.get(process.env.VUE_APP_APIENDPOINT + process.env.VUE_APP_APIVERSION + '/' + 'kaverti/state')
.then(res => {
this.$store.commit('setSettings', res.data)
@@ -1675,6 +1680,7 @@ export default {
this.$store.commit('setExecutive', res.data.executive)
this.$store.commit('setUserId', res.data.id)
this.$store.commit('setBot', res.data.bot)
+ this.$store.commit('setModeler', res.data.modeler)
this.axios.get(process.env.VUE_APP_APIENDPOINT + process.env.VUE_APP_APIVERSION + '/' + 'kaverti/state')
.then(res => {
this.$store.commit('setSettings', res.data)
@@ -1709,6 +1715,7 @@ export default {
this.$store.commit('setExecutive', res.data.executive)
this.$store.commit('setUserId', res.data.id)
this.$store.commit('setBot', res.data.bot)
+ this.$store.commit('setModeler', res.data.modeler)
this.closeConn()
}).catch(err => {
this.showConn()
@@ -1873,6 +1880,7 @@ export default {
this.$store.commit('setExecutive', res.data.executive)
this.$store.commit('setUserId', res.data.id)
this.$store.commit('setBot', res.data.bot)
+ this.$store.commit('setModeler', res.data.modeler)
this.closeConn()
@@ -1987,6 +1995,7 @@ export default {
this.$store.commit('setExecutive', res.data.executive)
this.$store.commit('setUserId', res.data.id)
this.$store.commit('setBot', res.data.bot)
+ this.$store.commit('setModeler', res.data.modeler)
this.closeConn()
}).catch(err => {
this.showConn()
@@ -2006,7 +2015,6 @@ export default {
}
},
mounted () {
- console.log(JSON.parse(localStorage.getItem('currentUser')))
this.$store.commit('setMultiUser1Sess', JSON.parse(localStorage.getItem('accessToken')))
this.$store.commit('setMultiUser2Sess', JSON.parse(localStorage.getItem('accessToken2')))
this.$store.commit('setMultiUser3Sess', JSON.parse(localStorage.getItem('accessToken3')))
@@ -2115,6 +2123,7 @@ export default {
this.$store.commit('setExecutive', res.data.executive)
this.$store.commit('setUserId', res.data.id)
this.$store.commit('setBot', res.data.bot)
+ this.$store.commit('setModeler', res.data.modeler)
if(res.data.theme === "dark") {
this.darkTheme()
}
@@ -2147,7 +2156,6 @@ export default {
this.pollConn()
}
})
- console.log(this.$store.state.sessToken + 'IDENTIFY')
this.axios.get(process.env.VUE_APP_APIENDPOINT + process.env.VUE_APP_APIVERSION + '/' + 'userinfo', {
headers: {
'Authorization': this.$store.state.sessToken
@@ -2164,6 +2172,7 @@ export default {
this.$store.commit('setExecutive', res.data.executive)
this.$store.commit('setUserId', res.data.id)
this.$store.commit('setBot', res.data.bot)
+ this.$store.commit('setModeler', res.data.modeler)
this.closeConn()
}).catch(err => {
this.showConn()
diff --git a/frontend/src/components/AvatarIcon.vue b/frontend/src/components/AvatarIcon.vue
index 39ba983..55a1d1e 100644
--- a/frontend/src/components/AvatarIcon.vue
+++ b/frontend/src/components/AvatarIcon.vue
@@ -5,7 +5,7 @@