mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-22 14:42:51 +08:00
Added the possibility to clear monitor data
This commit is contained in:
@@ -254,6 +254,13 @@ export default {
|
||||
this.importantHeartbeatList = {}
|
||||
},
|
||||
|
||||
clearEvents(monitorID, callback) {
|
||||
socket.emit("clearEvents", monitorID, callback)
|
||||
},
|
||||
|
||||
clearHeartbeats(monitorID, callback) {
|
||||
socket.emit("clearHeartbeats", monitorID, callback)
|
||||
},
|
||||
},
|
||||
|
||||
computed: {
|
||||
|
Reference in New Issue
Block a user