diff --git a/src/components/PublicGroupList.vue b/src/components/PublicGroupList.vue index 4b59cd10..220eef08 100644 --- a/src/components/PublicGroupList.vue +++ b/src/components/PublicGroupList.vue @@ -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;