mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-07 04:47:14 +00:00
(js) Reset "selectedCard" when cancelling new card
This commit is contained in:
1 parent
12875539bb
commit
c1d744e47a
1 file changed
+1
@@ -88,6 +88,7 @@
|
||||
if (vm.card.isNew) {
|
||||
// Cancelling the creation of a card
|
||||
vm.card = null;
|
||||
delete AddressBook.selectedFolder.selectedCard;
|
||||
$state.go('app.addressbook', { addressbookId: AddressBook.selectedFolder.id });
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in new issue
Block a user