uptimekuma: Fix value regex to handle decimals

This commit is contained in:
armageddon421 2025-01-14 17:54:26 +01:00 committed by GitHub
parent 87e25b213b
commit 6d75bebe84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -144,7 +144,7 @@ export default {
return copy;
},
getRowValue(row) {
return this.getValueWithRegex(row, /\b\d+\b$/);
return this.getValueWithRegex(row, /\b(\d+)(\.\d+)*\b$/);
},
getRowMonitorName(row) {
return this.getValueWithRegex(row, /monitor_name="([^"]+)"/);