summaryrefslogtreecommitdiffstats
path: root/src/components/Properties
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2019-04-26 09:56:38 +0200
committerGitHub <noreply@github.com>2019-04-26 09:56:38 +0200
commit817039500afe6281f88a1855dee0ee4301e60ceb (patch)
tree7278ad713d4fea18007cd4a2aea13def70cd738f /src/components/Properties
parent4a4a15bf1b79d056c68a6bcd6e33d6d958796432 (diff)
Fix alignment and remove addressbook selector if only one (#1074)
Fix #1065
Diffstat (limited to 'src/components/Properties')
-rw-r--r--src/components/Properties/PropertyMultipleText.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Properties/PropertyMultipleText.vue b/src/components/Properties/PropertyMultipleText.vue
index 8294b7b1..48d65bf8 100644
--- a/src/components/Properties/PropertyMultipleText.vue
+++ b/src/components/Properties/PropertyMultipleText.vue
@@ -101,7 +101,7 @@ export default {
gridLength() {
let hasTitle = this.isFirstProperty && this.propModel.icon ? 1 : 0
let isLast = this.isLastProperty
- let hasValueNames = this.propModel.readableValues ? 1 : 0
+ let hasValueNames = this.propModel.options || this.selectType || !this.property.isStructuredValue ? 1 : 0
let length = this.propModel.displayOrder ? this.propModel.displayOrder.length : this.value.length
return hasValueNames + hasTitle + length + isLast
},