From 44f75db6ce4af2f9ad2a8c2889d7551541fb302f Mon Sep 17 00:00:00 2001 From: Daan Hoogland Date: Mon, 31 Jul 2023 11:56:19 +0200 Subject: [PATCH] empty value on new details --- ui/src/components/view/DetailSettings.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/src/components/view/DetailSettings.vue b/ui/src/components/view/DetailSettings.vue index 57c5343ab7d8..ba96ad6ee8b5 100644 --- a/ui/src/components/view/DetailSettings.vue +++ b/ui/src/components/view/DetailSettings.vue @@ -170,7 +170,11 @@ export default { return [] } if (!Array.isArray(this.detailOptions[this.newKey])) { - return { value: this.detailOptions[this.newKey] } + if (this.detailOptions[this.newKey]) { + return { value: this.detailOptions[this.newKey] } + } else { + return '' + } } return this.detailOptions[this.newKey].map(value => { return { value: value }