fix(addressbook(js)): unselect current card on delete

This commit is contained in:
Francis Lachapelle
2022-03-21 09:22:52 -04:00
parent 896fe27c61
commit 547d26af19
@@ -196,6 +196,7 @@
AddressBook.selectedFolder.$deleteCards([card])
.then(function() {
close();
$state.go('app.addressbook');
}, function(data, status) {
Dialog.alert(l('Warning'), l('An error occured while deleting the card "%{0}".',
card.$fullname()));