mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00:00
Final linting fix
This commit is contained in:
parent
a34ca83844
commit
e539e5aa73
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ export default {
|
|||
* @param {number} monitorId Id of the monitor to get status for
|
||||
* @returns {number} Status of the last heartbeat
|
||||
*/
|
||||
statusOfLastHeartbeat(monitorId) {
|
||||
statusOfLastHeartbeat(monitorId) {
|
||||
let heartbeats = this.$root.heartbeatList[monitorId] ?? [];
|
||||
let lastHeartbeat = heartbeats[heartbeats.length - 1];
|
||||
return lastHeartbeat?.status;
|
||||
|
|
Loading…
Reference in a new issue