fix empty object - navigate to home

This commit is contained in:
Javier 2016-09-02 16:42:14 -03:00
commit 4b2e72a28f
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ angular.module('copayApp.controllers').controller('preferencesHistory',
}
allTxs.push(txsFromLocal);
return cb(null, lodash.flatten(allTxs));
return cb(null, lodash.compact(lodash.flatten(allTxs)));
});
};