data, logs, story: Removed forgotten console.log lines
This commit is contained in:
@@ -6,8 +6,6 @@ module.exports = class {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onInput(input) {
|
onInput(input) {
|
||||||
console.log(input.user, input.permission)
|
|
||||||
|
|
||||||
if (!input.user || !input.user.loggedIn) {
|
if (!input.user || !input.user.loggedIn) {
|
||||||
this.state.permitted = false
|
this.state.permitted = false
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -24,8 +24,6 @@ module.exports = class {
|
|||||||
channels[index] = Object.assign({}, channels[index], patch)
|
channels[index] = Object.assign({}, channels[index], patch)
|
||||||
|
|
||||||
this.state.channels = channels
|
this.state.channels = channels
|
||||||
|
|
||||||
console.log(channels[index])
|
|
||||||
}
|
}
|
||||||
|
|
||||||
channelAdded(channel) {
|
channelAdded(channel) {
|
||||||
|
|||||||
@@ -21,8 +21,6 @@ module.exports = class {
|
|||||||
}, 1)
|
}, 1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(input.eventNames)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
onMount() {
|
onMount() {
|
||||||
|
|||||||
@@ -24,13 +24,10 @@ module.exports = class {
|
|||||||
this.state.filter = Object.assign({}, this.state.filter, {[type]: (this.state.filter[type] || []).concat(filter)})
|
this.state.filter = Object.assign({}, this.state.filter, {[type]: (this.state.filter[type] || []).concat(filter)})
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("FILTER:", this.state.filter)
|
|
||||||
|
|
||||||
this.refresh()
|
this.refresh()
|
||||||
}
|
}
|
||||||
|
|
||||||
removeFilter(type, filter) {
|
removeFilter(type, filter) {
|
||||||
console.log(type, filter, this.state.filter)
|
|
||||||
|
|
||||||
if (type === "search") {
|
if (type === "search") {
|
||||||
this.state.filter = Object.assign({}, this.state.filter, {search: null})
|
this.state.filter = Object.assign({}, this.state.filter, {search: null})
|
||||||
@@ -48,8 +45,6 @@ module.exports = class {
|
|||||||
}
|
}
|
||||||
|
|
||||||
refresh() {
|
refresh() {
|
||||||
console.log("REFRESH", this.state.filter)
|
|
||||||
|
|
||||||
logHeaderApi.list(this.state.filter).then(logs => {
|
logHeaderApi.list(this.state.filter).then(logs => {
|
||||||
this.state.logs = logs
|
this.state.logs = logs
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -55,8 +55,6 @@ module.exports = class {
|
|||||||
input.fictionalDate = fictionalDate
|
input.fictionalDate = fictionalDate
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(input)
|
|
||||||
|
|
||||||
this.state.loading = true
|
this.state.loading = true
|
||||||
storyApi.add(input).then(data => {
|
storyApi.add(input).then(data => {
|
||||||
this.emit("add", data)
|
this.emit("add", data)
|
||||||
|
|||||||
Reference in New Issue
Block a user