Auto Fix by GitHub Copilot

This commit is contained in:
Louis Lam 2025-04-13 10:38:02 +00:00
parent 13a85b8200
commit 29502a188a

View file

@ -48,7 +48,7 @@ export default {
},
computed: {
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;
} else {
return `${this.item.name}: ${this.item.value}`;