diff options
author | Greta Doci <gretadoci@gmail.com> | 2019-10-17 18:29:02 +0200 |
---|---|---|
committer | Greta Doci <gretadoci@gmail.com> | 2019-10-17 18:29:02 +0200 |
commit | 99ae1bca690c99a435ef7257d29bffd98107d8f2 (patch) | |
tree | 8671a9f11c77b71bae84fdbd0a0a9b1eef770c72 /src | |
parent | 469a3fd50efa86babeac6e4261aff9d0d255c63e (diff) |
Make the work profile the default one when adding Contacts
We need to split the default state in order for the user to decide
which one should be default for them depending wethers if its a
enterpirse solution or not
Signed-off-by: Greta Doci <gretadoci@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/models/rfcProps.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/models/rfcProps.js b/src/models/rfcProps.js index aaeed79e..4b00de19 100644 --- a/src/models/rfcProps.js +++ b/src/models/rfcProps.js @@ -27,6 +27,7 @@ import ActionCopyNtoFN from '../components/Actions/ActionCopyNtoFN' import ActionToggleYear from '../components/Actions/ActionToggleYear' import zones from './zones' +//Load the default profile (for example, home or work) configured by the user const defaultProfileState = loadState('contacts', 'defaultProfile') const localesState = loadState('contacts', 'locales') const locales = localesState |