A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
remove "Remove All"
jonaswinklerbf79b252ad01
diff --git a/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.html b/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.htmlindex f9bf78b6c..58c831456 100644--- a/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.html+++ b/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.html@@ -19,12 +19,6 @@<input class="form-control" type="text" [(ngModel)]="filterText" placeholder="Filter {{title}}" (keyup.enter)="listFilterEnter()" #listFilterTextInput></div></div>- <button *ngIf="showRemoveAll" role="menuitem" class="list-group-item list-group-item-action d-flex align-items-center p-2 border-top-0 border-left-0 border-right-0 border-bottom" (click)="removeAll.next()">- <svg class="toolbaricon text-danger" fill="currentColor">- <use xlink:href="assets/bootstrap-icons.svg#x" />- </svg>- <small class="my-1">Remove All</small>- </button><div *ngIf="toggleableItems" class="items"><ng-container *ngFor="let toggleableItem of toggleableItems | filter: filterText"><app-toggleable-dropdown-button [toggleableItem]="toggleableItem" [showCounts]="showCounts" (toggle)="toggleItem($event)"></app-toggleable-dropdown-button>diff --git a/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.ts b/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.tsindex e66966486..bffbb86e1 100644--- a/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.ts+++ b/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.ts@@ -67,18 +67,12 @@ export class FilterableDropdownComponent {@Input()singular: boolean = false- @Input()- showRemoveAll: boolean = false-@Output()toggle = new EventEmitter()@Output()open = new EventEmitter()- @Output()- removeAll = new EventEmitter()-@Output()editingComplete = new EventEmitter()diff --git a/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.html b/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.htmlindex f27d6d201..aa85fdb12 100644--- a/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.html+++ b/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.html@@ -33,27 +33,21 @@[toggleableItems]="tagsToggleableItems"[type]="dropdownTypes.Editing"[showCounts]="!selectionSpansPages"- [showRemoveAll]="selectionSpansPages"(open)="tagsDropdownOpen()"- (removeAll)="setTags(null)"(editingComplete)="setTags($event)"></app-filterable-dropdown><app-filterable-dropdown class="mr-2 mr-md-3" title="Correspondent" icon="person-fill" singular="true"[toggleableItems]="correspondentsToggleableItems"[type]="dropdownTypes.Editing"[showCounts]="!selectionSpansPages"- [showRemoveAll]="selectionSpansPages"(open)="correspondentsDropdownOpen()"- (removeAll)="setCorrespondents(null)"(editingComplete)="setCorrespondents($event)"></app-filterable-dropdown><app-filterable-dropdown class="mr-2 mr-md-3" title="Document Type" icon="file-earmark-fill" singular="true"[toggleableItems]="documentTypesToggleableItems"[type]="dropdownTypes.Editing"[showCounts]="!selectionSpansPages"- [showRemoveAll]="selectionSpansPages"(open)="documentTypesDropdownOpen()"- (removeAll)="setDocumentTypes(null)"(editingComplete)="setDocumentTypes($event)"></app-filterable-dropdown></div>