Final linting fix

This commit is contained in:
Bas Wieringa 2024-03-15 16:47:49 +01:00
parent a34ca83844
commit e539e5aa73

View file

@ -193,7 +193,7 @@ export default {
* @param {number} monitorId Id of the monitor to get status for * @param {number} monitorId Id of the monitor to get status for
* @returns {number} Status of the last heartbeat * @returns {number} Status of the last heartbeat
*/ */
statusOfLastHeartbeat(monitorId) { statusOfLastHeartbeat(monitorId) {
let heartbeats = this.$root.heartbeatList[monitorId] ?? []; let heartbeats = this.$root.heartbeatList[monitorId] ?? [];
let lastHeartbeat = heartbeats[heartbeats.length - 1]; let lastHeartbeat = heartbeats[heartbeats.length - 1];
return lastHeartbeat?.status; return lastHeartbeat?.status;