diff --git a/src/components/MonitorList.vue b/src/components/MonitorList.vue index d66bbe6c1..f8e699470 100644 --- a/src/components/MonitorList.vue +++ b/src/components/MonitorList.vue @@ -346,7 +346,7 @@ export default { pauseSelected() { Object.keys(this.selectedMonitors) .filter(id => this.$root.monitorList[id].active) - .forEach(id => this.$root.getSocket().emit("pauseMonitor", id)); + .forEach(id => this.$root.getSocket().emit("pauseMonitor", id, () => {})); this.cancelSelectMode(); }, @@ -357,7 +357,7 @@ export default { resumeSelected() { Object.keys(this.selectedMonitors) .filter(id => !this.$root.monitorList[id].active) - .forEach(id => this.$root.getSocket().emit("resumeMonitor", id)); + .forEach(id => this.$root.getSocket().emit("resumeMonitor", id, () => {})); this.cancelSelectMode(); }, diff --git a/src/util.js b/src/util.js index 6b8f8f374..8e301494b 100644 --- a/src/util.js +++ b/src/util.js @@ -2,7 +2,7 @@ // Common Util for frontend and backend // // DOT NOT MODIFY util.js! -// Need to run "tsc" to compile if there are any changes. +// Need to run "npm run tsc" to compile if there are any changes. // // Backend uses the compiled file util.js // Frontend uses util.ts diff --git a/src/util.ts b/src/util.ts index e8a2706e3..712b89b13 100644 --- a/src/util.ts +++ b/src/util.ts @@ -1,7 +1,7 @@ // Common Util for frontend and backend // // DOT NOT MODIFY util.js! -// Need to run "tsc" to compile if there are any changes. +// Need to run "npm run tsc" to compile if there are any changes. // // Backend uses the compiled file util.js // Frontend uses util.ts