(js) Always show center list when no card selected

This commit is contained in:
Francis Lachapelle committed 2018-01-24 10:36:22 -05:00
1 parent 7897ea58fe
commit d05477499f
4 files changed
+10 -4

No files matched your search

@@ -89,6 +89,11 @@
});
}
this.centerIsClose = function(navController_centerIsClose) {
// Allow the cards list to be hidden only if a card is selected
return this.selectedFolder.hasSelectedCard() && !!navController_centerIsClose;
};
this.selectCard = function(card) {
$state.go('app.addressbook.card.view', {cardId: card.id});
};