Cleanup logging

This commit is contained in:
Peter Stuifzand 2019-08-17 19:40:24 +02:00
parent 8fcb46dc7f
commit b7cbd5ccdb

View File

@ -93,10 +93,7 @@ export default new Vuex.Store({
state.eventSource.addEventListener('new item in channel', evt => {
// eslint-disable-next-line
console.log(evt)
let d = JSON.parse(evt.data)
// eslint-disable-next-line
console.log(d, state.channels)
let channel = _.find(state.channels, item => item.uid === d.uid)
if (channel) {
channel.unread = d.unread