@fluid-topics/ft-search-period-filter 2.2.17 → 2.2.19
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.
|
@@ -74,7 +74,8 @@ export class FtSearchPeriodFilter extends withI18n(FtSearchComponent) {
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
header() {
|
|
77
|
-
var _a, _b
|
|
77
|
+
var _a, _b;
|
|
78
|
+
var _c;
|
|
78
79
|
if (this.metadataKey === "ft:lastEdition") {
|
|
79
80
|
return periodFilterContext.messages.label();
|
|
80
81
|
}
|
|
@@ -106,7 +107,7 @@ __decorate([
|
|
|
106
107
|
redux({ store: "search", selector: (state) => state.request.metadataFilters })
|
|
107
108
|
], FtSearchPeriodFilter.prototype, "filters", void 0);
|
|
108
109
|
__decorate([
|
|
109
|
-
redux({ store: ftAppInfoStore.name, selector: (s) => { var _a
|
|
110
|
+
redux({ store: ftAppInfoStore.name, selector: (s) => { var _a; var _b; return (_b = (_a = s.metadataConfiguration) === null || _a === void 0 ? void 0 : _a.descriptors) !== null && _b !== void 0 ? _b : []; } })
|
|
110
111
|
], FtSearchPeriodFilter.prototype, "metadataDescriptors", void 0);
|
|
111
112
|
__decorate([
|
|
112
113
|
property({ attribute: false })
|