mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-20 21:24:44 -05:00
fix undefined callback
This commit is contained in:
parent
8d5eaaf8a7
commit
3394e1f148
@ -293,6 +293,9 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
getMonitorList(callback) {
|
getMonitorList(callback) {
|
||||||
|
if (! callback) {
|
||||||
|
callback = () => { };
|
||||||
|
}
|
||||||
socket.emit("getMonitorList", callback);
|
socket.emit("getMonitorList", callback);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user