diff --git a/src/components/user/Config.vue b/src/components/user/Config.vue
index 160542c..a5c9dbf 100644
--- a/src/components/user/Config.vue
+++ b/src/components/user/Config.vue
@@ -116,18 +116,26 @@
append-icon
>
- {{
+ {{
data.item === 'user'
? person
: data.item === 'bar'
? bar
: data.item === 'moneymaster'
? finanzer
- : false
+ : data.item === 'gastro'
+ ? gastro
+ : ''
}}
+
+
+
+
+
+
@@ -135,14 +143,19 @@
Save
- {{error}}
+ {{ error }}
diff --git a/src/store/modules/user.js b/src/store/modules/user.js
index 4036091..4d1e4d2 100644
--- a/src/store/modules/user.js
+++ b/src/store/modules/user.js
@@ -318,7 +318,7 @@ const actions = {
},
async getStatus({commit, rootState, dispatch }) {
try {
- const response = await axios.post(url.user.getAllStatus, {
+ const response = await axios.get(url.user.getAllStatus, {
headers: { Token: rootState.login.user.accessToken }
})
commit('setStatus', response.data)
@@ -355,6 +355,9 @@ const getters = {
},
messages: state => {
return state.message
+ },
+ status: state => {
+ return state.status
}
}