mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-25 22:55:32 +02:00
🔀 Merge pull request #1790 from armageddon421/kuma-fixes
Uptime-Kuma fixes
This commit is contained in:
commit
f094880851
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user