]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix: change auto-refresh click target
authorshamoon <4887959+shamoon@users.noreply.github.com>
Wed, 17 Jan 2024 06:58:41 +0000 (22:58 -0800)
committershamoon <4887959+shamoon@users.noreply.github.com>
Wed, 17 Jan 2024 06:58:41 +0000 (22:58 -0800)
src-ui/src/app/components/admin/tasks/tasks.component.html

index 52d85cc8e203172ec7f12535472aacdf8985dc60..64086c059c82d8e447fa9c62312ec769e627153a 100644 (file)
@@ -15,8 +15,8 @@
         <use xlink:href="assets/bootstrap-icons.svg#check2-all"/>
       </svg>&nbsp;<ng-container i18n>{{dismissButtonText}}</ng-container>
     </button>
-    <div class="form-check form-switch mb-0" (click)="toggleAutoRefresh()">
-      <input class="form-check-input" type="checkbox" role="switch" id="autoRefreshSwitch" [attr.checked]="autoRefreshInterval">
+    <div class="form-check form-switch mb-0">
+      <input class="form-check-input" type="checkbox" role="switch" id="autoRefreshSwitch" (click)="toggleAutoRefresh()" [attr.checked]="autoRefreshInterval">
       <label class="form-check-label" for="autoRefreshSwitch" i18n>Auto refresh</label>
     </div>
   </div>