mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-27 07:34:43 +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;
|
return copy;
|
||||||
},
|
},
|
||||||
getRowValue(row) {
|
getRowValue(row) {
|
||||||
return this.getValueWithRegex(row, /\b\d+\b$/);
|
return this.getValueWithRegex(row, /\b(\d+)(\.\d+)*\b$/);
|
||||||
},
|
},
|
||||||
getRowMonitorName(row) {
|
getRowMonitorName(row) {
|
||||||
return this.getValueWithRegex(row, /monitor_name="([^"]+)"/);
|
return this.getValueWithRegex(row, /monitor_name="([^"]+)"/);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user