]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix: deselect file tasks select all button on dismiss (#7592)
authorshamoon <4887959+shamoon@users.noreply.github.com>
Sat, 31 Aug 2024 21:02:37 +0000 (14:02 -0700)
committerGitHub <noreply@github.com>
Sat, 31 Aug 2024 21:02:37 +0000 (14:02 -0700)
src-ui/src/app/components/admin/tasks/tasks.component.ts

index f1fa56d56cdc5d4770fad4af9b53a1ed6ce4665a..7b01090d50f8bb252bd2da8656cf5bf436ed1173 100644 (file)
@@ -70,11 +70,11 @@ export class TasksComponent
         modal.componentInstance.buttonsEnabled = false
         modal.close()
         this.tasksService.dismissTasks(tasks)
-        this.selectedTasks.clear()
+        this.clearSelection()
       })
     } else {
       this.tasksService.dismissTasks(tasks)
-      this.selectedTasks.clear()
+      this.clearSelection()
     }
   }