We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da7fc72 commit c86684fCopy full SHA for c86684f
ui/src/components/view/DetailSettings.vue
@@ -170,7 +170,11 @@ export default {
170
return []
171
}
172
if (!Array.isArray(this.detailOptions[this.newKey])) {
173
- return { value: this.detailOptions[this.newKey] }
+ if (this.detailOptions[this.newKey]) {
174
+ return { value: this.detailOptions[this.newKey] }
175
+ } else {
176
+ return ''
177
+ }
178
179
return this.detailOptions[this.newKey].map(value => {
180
return { value: value }
0 commit comments