From 084caa34c3279dc5f1333ca2058d6a4967a59957 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Gr=C3=B6ger?= Date: Wed, 10 Jun 2020 15:53:37 +0200 Subject: [PATCH] delete console.logs --- src/store/modules/barUsers.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/store/modules/barUsers.js b/src/store/modules/barUsers.js index 151d1bb..7130ca8 100644 --- a/src/store/modules/barUsers.js +++ b/src/store/modules/barUsers.js @@ -14,14 +14,12 @@ const state = { const mutations = { setAllUsers: (state, users) => { - console.log(users) state.allUsers = [] state.allUsers = users for (let i = 0; i < state.allUsers.length; i++) { state.allUsers[i].fullName = state.allUsers[i].firstname + ' ' + state.allUsers[i].lastname } - console.log(state.allUsers) }, setUsers: (state, users) => { for (let user in users) { @@ -64,7 +62,6 @@ const mutations = { ) if (data.loading !== undefined) state.users[index].loading = data.loading if (data.last_seen !== undefined) state.users[index].last_seen = data.last_seen - console.log('user', state.users[index]) }, sortUsers: state => { state.users = state.users.sort((a, b) => { @@ -86,9 +83,7 @@ const mutations = { }, addMessage: (state, data) => { var message = null - console.log(data) if (state.messages.length > 0) { - console.log(state.messages[0].user.username, data.user.username) if (state.messages[0].user.username === data.user.username && !data.error) { message = state.messages[0] if ((new Date() - state.messages[0].date) / 1000 < 2) {