Chore: use rxjs instead of JS setInterval for timers (#8461)

This commit is contained in:
shamoon
2024-12-09 13:14:48 -08:00
committed by GitHub
parent 0a7c296194
commit e3fa3fe818
7 changed files with 36 additions and 53 deletions

View File

@@ -4,7 +4,7 @@
info="Review the log files for the application and for email checking."
i18n-info>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" id="autoRefreshSwitch" (click)="toggleAutoRefresh()" [attr.checked]="autoRefreshInterval">
<input class="form-check-input" type="checkbox" role="switch" [(ngModel)]="autoRefreshEnabled">
<label class="form-check-label" for="autoRefreshSwitch" i18n>Auto refresh</label>
</div>
</pngx-page-header>