mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-19 12:15:20 +00:00
Agree sonar
This commit is contained in:
1 file changed
+4
-1
@@ -501,7 +501,10 @@ export class DocumentListViewService {
|
||||
|
||||
get excluded(): Set<number> {
|
||||
this.trackState()
|
||||
return (this.activeListViewState.excluded ??= new Set<number>())
|
||||
if (!this.activeListViewState.excluded) {
|
||||
this.activeListViewState.excluded = new Set<number>()
|
||||
}
|
||||
return this.activeListViewState.excluded
|
||||
}
|
||||
|
||||
get selectedCount(): number {
|
||||
|
||||
Reference in new issue
Block a user