aboutsummaryrefslogtreecommitdiff
path: root/src/modules/reports.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/reports.js')
-rw-r--r--src/modules/reports.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/modules/reports.js b/src/modules/reports.js
index b25e9ee9..925792c0 100644
--- a/src/modules/reports.js
+++ b/src/modules/reports.js
@@ -43,11 +43,8 @@ const reports = {
},
setReportState ({ commit, dispatch, rootState }, { id, state }) {
const oldState = rootState.reports.reports[id].state
- console.log(oldState, state)
commit('setReportState', { id, state })
- rootState.api.backendInteractor.setReportState({ id, state }).then(report => {
- console.log(report)
- }).catch(e => {
+ rootState.api.backendInteractor.setReportState({ id, state }).catch(e => {
console.error('Failed to set report state', e)
dispatch('pushGlobalNotice', {
level: 'error',