diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-08-28 14:53:19 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-08-28 14:53:19 +0200 |
commit | 670493bd8a029d8e3b6ab75778cb2fd0cb16378a (patch) | |
tree | 2745cc445e21da851f20337cea12ee98fbf1db4c /src/models/rfcProps.js | |
parent | 0b5f975b5288e1a9548260f9ac8f47453982f9a7 (diff) |
Dav lib 1
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'src/models/rfcProps.js')
-rw-r--r-- | src/models/rfcProps.js | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/models/rfcProps.js b/src/models/rfcProps.js index 55df4349..cae39970 100644 --- a/src/models/rfcProps.js +++ b/src/models/rfcProps.js @@ -54,7 +54,7 @@ const properties = { readableName: t('contacts', 'Federated Cloud ID'), defaultValue: { value: [''], - meta: { type: ['HOME'] } + type: ['HOME'] }, options: [ { id: 'HOME', name: t('contacts', 'Home') }, @@ -76,9 +76,10 @@ const properties = { ], displayOrder: [0, 2, 1, 5, 3, 4, 6], icon: 'icon-address', + default: true, defaultValue: { value: ['', '', '', '', '', '', ''], - meta: { type: ['HOME'] } + type: ['HOME'] }, options: [ { id: 'HOME', name: t('contacts', 'Home') }, @@ -105,9 +106,10 @@ const properties = { multiple: true, readableName: t('contacts', 'Email'), icon: 'icon-mail', + default: true, defaultValue: { value: '', - meta: { type: ['HOME'] } + type: ['HOME'] }, options: [ { id: 'HOME', name: t('contacts', 'Home') }, @@ -121,7 +123,7 @@ const properties = { icon: 'icon-comment', defaultValue: { value: [''], - meta: { type: ['SKYPE'] } + type: ['SKYPE'] }, options: [ { id: 'IRC', name: 'IRC' }, @@ -135,9 +137,10 @@ const properties = { multiple: true, readableName: t('contacts', 'Phone'), icon: 'icon-comment', + default: true, defaultValue: { value: '', - meta: { type: ['HOME,VOICE'] } + type: ['HOME,VOICE'] }, options: [ { id: 'HOME,VOICE', name: t('contacts', 'Home') }, @@ -161,7 +164,7 @@ const properties = { readableName: t('contacts', 'Social network'), defaultValue: { value: [''], - meta: { type: ['facebook'] } + type: ['facebook'] }, options: [ { id: 'FACEBOOK', name: 'Facebook' }, @@ -208,7 +211,7 @@ const properties = { ), defaultValue: { value: [''], - meta: { type: ['CONTACT'] } + type: ['CONTACT'] }, options: [ { id: 'CONTACT', name: t('contacts', 'Contact') }, |