Merge pull request #2251 from bluewave-labs/fix/fe/monitor-resume-pause
Fix - Monitor Resume and Pause toast messages were switched
This commit is contained in:
1 file changed
+3
-1
@@ -589,7 +589,9 @@ class MonitorController {
|
|||||||
status: "$$REMOVE",
|
status: "$$REMOVE",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
]);
|
],
|
||||||
|
{ new: true }
|
||||||
|
);
|
||||||
monitor.isActive === true
|
monitor.isActive === true
|
||||||
? await this.jobQueue.deleteJob(monitor)
|
? await this.jobQueue.deleteJob(monitor)
|
||||||
: await this.jobQueue.addJob(monitor._id, monitor);
|
: await this.jobQueue.addJob(monitor._id, monitor);
|
||||||
|
|||||||
Reference in new issue
Block a user