Skip to content

Commit f094880

Browse files
authored
🔀 Merge pull request #1790 from armageddon421/kuma-fixes
Uptime-Kuma fixes
2 parents e3d14fe + 6d75beb commit f094880

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Widgets/UptimeKuma.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export default {
144144
return copy;
145145
},
146146
getRowValue(row) {
147-
return this.getValueWithRegex(row, /\b\d+\b$/);
147+
return this.getValueWithRegex(row, /\b(\d+)(\.\d+)*\b$/);
148148
},
149149
getRowMonitorName(row) {
150150
return this.getValueWithRegex(row, /monitor_name="([^"]+)"/);
@@ -193,7 +193,7 @@ export default {
193193
white-space: nowrap;
194194
vertical-align: baseline;
195195
padding: .35em .65em;
196-
margin: 1em 0.5em;
196+
margin: 0.1em 0.5em;
197197
min-width: 64px;
198198
199199
&.up {

0 commit comments

Comments
 (0)