diff options
-rw-r--r-- | src/components/Properties/PropertyGroups.vue | 14 | ||||
-rw-r--r-- | src/components/Settings/SettingsImportContacts.vue | 2 |
2 files changed, 15 insertions, 1 deletions
diff --git a/src/components/Properties/PropertyGroups.vue b/src/components/Properties/PropertyGroups.vue index 0ee7f23c..fc062409 100644 --- a/src/components/Properties/PropertyGroups.vue +++ b/src/components/Properties/PropertyGroups.vue @@ -96,6 +96,20 @@ export default { } }, + watch: { + /** + * Since we're updating a local data based on the value prop, + * we need to make sure to update the local data on pop change + * TODO: check if this create performance drop + */ + value: function() { + this.localValue = this.value + }, + selectType: function() { + this.localType = this.selectType + } + }, + methods: { /** diff --git a/src/components/Settings/SettingsImportContacts.vue b/src/components/Settings/SettingsImportContacts.vue index a3e9b511..c44c4939 100644 --- a/src/components/Settings/SettingsImportContacts.vue +++ b/src/components/Settings/SettingsImportContacts.vue @@ -86,7 +86,7 @@ export default { this.importDestination = value } }, - + // disable multiselect when there is only one address book isSingleAddressbook() { return this.options.length === 1 |