mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix: reset expiration date when toggling duration option
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user