@fluid-topics/ft-search-selected-facets 1.2.54 → 1.2.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -122,7 +122,11 @@ class FtSearchSelectedFacets extends withI18n(FtSearchComponent) {
|
|
|
122
122
|
part="ft-search-selected-facets ft-search-selected-facet-search-in-document-titles-only"
|
|
123
123
|
removable hideIconTooltip
|
|
124
124
|
iconLabel="${searchSelectedFacets.messages.removeFilterLabel()}"
|
|
125
|
-
@icon-click=${() => {
|
|
125
|
+
@icon-click=${(e) => {
|
|
126
|
+
var _a;
|
|
127
|
+
(_a = this.stateManager) === null || _a === void 0 ? void 0 : _a.setSearchInDocumentTitlesOnly(false);
|
|
128
|
+
this.determineAndApplyFocus(e);
|
|
129
|
+
}}>
|
|
126
130
|
${searchTypeContext.messages.documentTitlesOnly()}
|
|
127
131
|
</ft-chip>
|
|
128
132
|
</ft-tooltip>
|