(fix) hide the detail view when we have nothing to show

This commit is contained in:
Ludovic Marcotte
2015-05-05 15:42:09 -04:00
committed by Francis Lachapelle
parent a5cf7659eb
commit 7e82ece74c
4 changed files with 4 additions and 2 deletions
+1
View File
@@ -112,6 +112,7 @@
// $scope functions
$scope.select = function(folder) {
$scope.editMode = false;
$rootScope.card = null;
$state.go('app.addressbook', {addressbookId: folder.id});
};
$scope.newAddressbook = function() {