mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-05-19 21:52:35 +02:00
parent
13a85b8200
commit
510056fbbc
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
displayText() {
|
displayText() {
|
||||||
if (this.item.value === "" || this.item.value === undefined) {
|
if (this.item.value === "" || this.item.value === undefined || this.item.value === null) {
|
||||||
return this.item.name;
|
return this.item.name;
|
||||||
} else {
|
} else {
|
||||||
return `${this.item.name}: ${this.item.value}`;
|
return `${this.item.name}: ${this.item.value}`;
|
||||||
|
|
Loading…
Add table
Reference in a new issue