mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-18 03:38:49 +00:00
(js) Reset "selectedCard" when cancelling new card
This commit is contained in:
@@ -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