From e4032f6a95f141904ceba2950083311d59fd17b7 Mon Sep 17 00:00:00 2001 From: Marcos Zuriaga Date: Wed, 28 Sep 2016 22:16:15 +0200 Subject: [PATCH] Store vault data on the user once we have it Useful for further sharing process and progress calculation --- js/app/controllers/share.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/app/controllers/share.js b/js/app/controllers/share.js index 04d1b3e3..60bc0666 100644 --- a/js/app/controllers/share.js +++ b/js/app/controllers/share.js @@ -106,6 +106,7 @@ angular.module('passmanApp') console.log(list); for (var i = 0; i < list.length; i++){ ShareService.getVaultsByUser(list[i].userId).then(function(data){ + list[i].vaults = data; console.log(data); var start = new Date().getTime() / 1000;; ShareService.cypherRSAStringWithPublicKeyBulkAsync(data, key)