fix(addressbook(web)): update card on save when certificate is removed

This commit is contained in:
Francis Lachapelle
2022-03-21 10:12:21 -04:00
parent 547d26af19
commit c7ee4d8c19
5 changed files with 32 additions and 6 deletions
@@ -79,6 +79,11 @@
focus('org_' + i);
};
this.removeCertificate = function (form) {
this.card.$removeCertificate();
form.$setDirty();
};
this.addBirthday = function () {
this.card.birthday = new Date();
};