Final linting fix

This commit is contained in:
Bas Wieringa 2024-03-15 16:47:49 +01:00
parent a34ca83844
commit e539e5aa73
1 changed files with 1 additions and 1 deletions

View File

@ -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;