mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 12:25:23 +00:00
(js) Always show center list when no card selected
This commit is contained in:
@@ -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});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user