fix(preferences(js)): set account id before importing certificate

Fixes #5084
This commit is contained in:
Francis Lachapelle committed 2020-07-16 17:30:10 -04:00
1 parent b78e66a10b
commit 566fe55d71
3 files changed
+21 -6

No files matched your search

@@ -49,7 +49,7 @@
onSuccessItem: function(item, response, status, headers) {
this.clearQueue();
$timeout(function() {
_.assign(vm.account, {security: {hasCertificate: true}});
_.assign(vm.account, {security: {hasCertificate: true}, $$certificate: response});
});
_loadCertificate();
},