fix: reset expiration date when toggling duration option

This commit is contained in:
2026-04-06 13:39:47 +01:00
parent 2ee634b354
commit 3c326eeb2a
@@ -97,7 +97,7 @@ export class NewGroupPage implements OnInit{
this.showDuration = event.detail.checked;
if(event.detail.checked) {
this.expirationDate = new Date();
this.expirationDate = null;
}
else {
this.expirationDate = null;