(js) Fix selection of card

The previous card was incorrectly highlighted when revisiting an
addressbook.
This commit is contained in:
Francis Lachapelle
2016-01-14 15:04:55 -05:00
parent f3ea377bdb
commit 667e6dff7c

View File

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