Browse Source

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

1.0
Gisle Aune 6 years ago
parent
commit
7c657fb0c6
  1. 2
      marko/components/if-permitted/component.js
  2. 2
      marko/page/data/components/channels-page/component.js
  3. 2
      marko/page/logs/components/add-filter-modal-body/component.js
  4. 5
      marko/page/logs/components/page/component.js
  5. 2
      marko/page/story/components/add-story-modal/component.js

2
marko/components/if-permitted/component.js

@ -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

2
marko/page/data/components/channels-page/component.js

@ -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) {

2
marko/page/logs/components/add-filter-modal-body/component.js

@ -21,8 +21,6 @@ module.exports = class {
}, 1) }, 1)
} }
} }
console.log(input.eventNames)
} }
onMount() { onMount() {

5
marko/page/logs/components/page/component.js

@ -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
}) })

2
marko/page/story/components/add-story-modal/component.js

@ -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)

Loading…
Cancel
Save