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 babf25588..b79862bf1 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 @@ -6,7 +6,7 @@
 {{title}}
- {{selectionModel.selectionSize()}}selected + {{selectionModel.totalCount}}selected
selected 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.ts index c3b4c890b..27b04d08b 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 @@ -137,6 +137,10 @@ export class FilterableDropdownSelectionModel { return this.getSelectedItems().length } + get totalCount() { + return this.getSelectedItems().length + this.getExcludedItems().length + } + clear(fireEvent = true) { this.temporarySelectionStates.clear() this.temporaryLogicalOperator = this._logicalOperator = 'and'