🔀 Merge pull request #1790 from armageddon421/kuma-fixes

Uptime-Kuma fixes
This commit is contained in:
Alicia Sykes 2025-07-19 07:31:08 +01:00 committed by GitHub
commit f094880851
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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="([^"]+)"/);
@ -193,7 +193,7 @@ export default {
white-space: nowrap; white-space: nowrap;
vertical-align: baseline; vertical-align: baseline;
padding: .35em .65em; padding: .35em .65em;
margin: 1em 0.5em; margin: 0.1em 0.5em;
min-width: 64px; min-width: 64px;
&.up { &.up {