data, logs, story: Removed forgotten console.log lines

This commit is contained in:
2018-10-13 17:19:07 +02:00
parent 31251d5c7b
commit 7c657fb0c6
5 changed files with 0 additions and 13 deletions
@@ -6,8 +6,6 @@ module.exports = class {
}
onInput(input) {
console.log(input.user, input.permission)
if (!input.user || !input.user.loggedIn) {
this.state.permitted = false
return
@@ -24,8 +24,6 @@ module.exports = class {
channels[index] = Object.assign({}, channels[index], patch)
this.state.channels = channels
console.log(channels[index])
}
channelAdded(channel) {
@@ -21,8 +21,6 @@ module.exports = class {
}, 1)
}
}
console.log(input.eventNames)
}
onMount() {
@@ -24,13 +24,10 @@ module.exports = class {
this.state.filter = Object.assign({}, this.state.filter, {[type]: (this.state.filter[type] || []).concat(filter)})
}
console.log("FILTER:", this.state.filter)
this.refresh()
}
removeFilter(type, filter) {
console.log(type, filter, this.state.filter)
if (type === "search") {
this.state.filter = Object.assign({}, this.state.filter, {search: null})
@@ -48,8 +45,6 @@ module.exports = class {
}
refresh() {
console.log("REFRESH", this.state.filter)
logHeaderApi.list(this.state.filter).then(logs => {
this.state.logs = logs
})
@@ -55,8 +55,6 @@ module.exports = class {
input.fictionalDate = fictionalDate
}
console.log(input)
this.state.loading = true
storyApi.add(input).then(data => {
this.emit("add", data)