Skip to content

Commit 5f12ade

Browse files
authored
fix undefined message error in the saved search filters feature (#2747)
1 parent d96bb14 commit 5f12ade

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/HOCs/WithSavedFilters/WithSavedFilters.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ const WithSavedFilters = function (WrappedComponent, appSettingName) {
8484
if (splitValues.length === _keys(AllOptions).length) {
8585
textValue = null;
8686
} else {
87-
textValue = _map(splitValues, (v) => this.props.intl.formatMessage(messages[v])).join(
88-
",",
89-
);
87+
textValue = _map(splitValues, (v) => messages[v]).join(",");
9088
}
9189
}
9290
return textValue;

0 commit comments

Comments
 (0)