mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-25 22:55:32 +02:00
uptimekuma: Fix value regex to handle decimals
This commit is contained in:
parent
87e25b213b
commit
6d75bebe84
@ -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="([^"]+)"/);
|
||||
|
Loading…
x
Reference in New Issue
Block a user