From 510056fbbcfd5fea271dd412e139520b4c62ec3b Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Fri, 18 Apr 2025 07:35:09 +0800 Subject: [PATCH] Fix #5745: Some labels without value still show a 'null' value (#5771) --- src/components/Tag.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Tag.vue b/src/components/Tag.vue index 6c2ff8c9b..5b8b96fc2 100644 --- a/src/components/Tag.vue +++ b/src/components/Tag.vue @@ -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}`;