Skip to content

Commit

Permalink
fixed a bug of showing 300 for the reminder durationSeconds.
Browse files Browse the repository at this point in the history
  • Loading branch information
yghokim committed Jul 2, 2020
1 parent a1492bc commit 1fb235f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
</div>
<div class="form-group">
<app-boolean-property-view title="Expire When Delayed" [propertyValue]="trigger.action.durationSeconds > 0"
(propertyValueChange)="trigger.action.durationSeconds = $event === true ? 300 : 0">
(propertyValueChange)="trigger.action.durationSeconds = $event === true ? (trigger.action.durationSeconds == null ? 300 : trigger.action.durationSeconds) : null">
</app-boolean-property-view>
</div>
<div class="form-group" *ngIf="trigger.action.durationSeconds > 0">
Expand Down

0 comments on commit 1fb235f

Please sign in to comment.