summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGreta Doci <gretadoci@gmail.com>2019-10-17 12:36:41 +0200
committerGreta Doci <gretadoci@gmail.com>2019-10-17 12:36:41 +0200
commit3f764203061221a838e0890a8cf4a36034158932 (patch)
tree0506014d8612ead8ad72bb6b65258af082befe33 /templates
parent40ad45acd70764b0395557dc6f0f0b58cc3fa781 (diff)
Make the work profile the default one when adding Contacts
Signed-off-by: Greta Doci <gretadoci@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/main.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/main.php b/templates/main.php
index 365cf629..1a1698ab 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -5,6 +5,7 @@ if (!\OCP\Util::isIe()) {
?>
<input type="hidden" id="initial-state-contacts-locales" value="<?php p(base64_encode($_['locales'])); ?>">
+<input type="hidden" id="initial-state-contacts-defaultProfile" value="<?php p(base64_encode($_['defaultProfile'])); ?>">
<?php } else { ?>
<div id="app-content">
@@ -15,4 +16,4 @@ if (!\OCP\Util::isIe()) {
</div>
</div>
-<?php } ?> \ No newline at end of file
+<?php } ?>