diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-01-09 09:04:39 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-01-09 09:06:24 +0100 |
commit | d7727d251e97b913365df3967d1d59196d084cc2 (patch) | |
tree | 1fe96eda7d983d4998380489b024a32e5f53d578 /src/models | |
parent | ed793e4cf7e7a3e2049df0ac2286fdf03d9d2184 (diff) |
Fix default type
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'src/models')
-rw-r--r-- | src/models/rfcProps.js | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/models/rfcProps.js b/src/models/rfcProps.js index 86f93c9e..99d6c887 100644 --- a/src/models/rfcProps.js +++ b/src/models/rfcProps.js @@ -54,7 +54,6 @@ const properties = { multiple: true, readableName: t('contacts', 'Federated Cloud ID'), defaultValue: { - value: [''], type: ['HOME'] }, options: [ @@ -116,7 +115,6 @@ const properties = { icon: 'icon-mail', default: true, defaultValue: { - value: '', type: ['HOME'] }, options: [ @@ -130,7 +128,6 @@ const properties = { readableName: t('contacts', 'Instant messaging'), icon: 'icon-comment', defaultValue: { - value: [''], type: ['SKYPE'] }, options: [ @@ -147,7 +144,6 @@ const properties = { icon: 'icon-phone', default: true, defaultValue: { - value: '', type: ['HOME', 'VOICE'] }, options: [ @@ -174,8 +170,7 @@ const properties = { icon: 'icon-social', readableName: t('contacts', 'Social network'), defaultValue: { - value: '', - type: ['facebook'] + type: ['FACEBOOK'] }, info: t( 'contacts', @@ -206,6 +201,9 @@ const properties = { 'contacts', 'Specify a relationship between you and the entity represented by this vCard.' ), + defaultValue: { + type: ['COLLEAGUE'] + }, options: [ { id: 'SPOUSE', name: t('contacts', 'Spouse') }, { id: 'CHILD', name: t('contacts', 'Child') }, @@ -230,7 +228,7 @@ const properties = { 'Specify a relationship between another entity and the entity represented by this vCard.' ), defaultValue: { - type: 'CONTACT' + type: ['CONTACT'] }, options: [ { id: 'CONTACT', name: t('contacts', 'Contact') }, @@ -256,7 +254,7 @@ const properties = { force: 'select', defaultValue: { // default to Female 🙋 - type: 'F' + type: ['F'] }, options: [ // TODO? make X-WAB-GENDER print in VCARD as well for MS compatibility |