Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Change alt-click to second click

Michael Shamoon1ba1df2529f3
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.html
index 04af125a9..976ed2a12 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
@@ -39,11 +39,7 @@
</svg>
</button>
<div *ngIf="!editing" class="list-group-item list-group-item-note pt-1 pb-2">
- <small i18n>Use
- <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" class="bi bi-option" viewBox="0 0 16 16">
- <use xlink:href="assets/bootstrap-icons.svg#option" />
- </svg>
- + click / return to exclude items.</small>
+ <small i18n>Click again to exclude items.</small>
</div>
</div>
</div>
diff --git a/src-ui/src/app/components/common/filterable-dropdown/toggleable-dropdown-button/toggleable-dropdown-button.component.ts b/src-ui/src/app/components/common/filterable-dropdown/toggleable-dropdown-button/toggleable-dropdown-button.component.ts
index 65e050976..a30f1863d 100644
--- a/src-ui/src/app/components/common/filterable-dropdown/toggleable-dropdown-button/toggleable-dropdown-button.component.ts
+++ b/src-ui/src/app/components/common/filterable-dropdown/toggleable-dropdown-button/toggleable-dropdown-button.component.ts
@@ -35,7 +35,7 @@ export class ToggleableDropdownButtonComponent {
}
toggleItem(event: MouseEvent): void {
- if (event.altKey) {
+ if (this.state == ToggleableItemState.Selected) {
this.exclude.emit()
} else {
this.toggle.emit()