1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

force vault refresh upon importing

This commit is contained in:
Kyle Spearrin
2017-04-21 14:24:24 -04:00
parent e010995b19
commit d61b6c2faa
3 changed files with 10 additions and 3 deletions

View File

@@ -239,7 +239,7 @@
folderRelationships: folderRelationships
}, function () {
$uibModalInstance.dismiss('cancel');
$state.go('backend.user.vault').then(function () {
$state.go('backend.user.vault', { refreshFromServer: true }).then(function () {
$analytics.eventTrack('Imported Data', { label: $scope.model.source });
toastr.success('Data has been successfully imported into your vault.', 'Import Success');
});