(js) Fix selection of card

The previous card was incorrectly highlighted when revisiting an
addressbook.
pull/186/head
Francis Lachapelle 2016-01-14 15:04:55 -05:00
parent f3ea377bdb
commit 667e6dff7c
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@
return addressbook.id == $stateParams.addressbookId;
});
if (addressbook) {
addressbook.selectedCard = false;
addressbook.$reload();
return addressbook;
}