Skip to content

Commit

Permalink
Fix modifier typo in search screen (mattermost#5267)
Browse files Browse the repository at this point in the history
  • Loading branch information
enahum authored Apr 6, 2021
1 parent 4ce430b commit ec9c2fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/screens/search/__snapshots__/search.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ exports[`Search should match snapshot 1`] = `
},
Object {
"description": "to find posts in specific channels",
"modifier": ":channel-name",
"modifier": "channel-name",
"testID": "search.in_section",
"value": "in:",
},
Expand Down
2 changes: 1 addition & 1 deletion app/screens/search/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ export default class Search extends PureComponent {
}, {
value: 'in:',
testID: 'search.in_section',
modifier: `:${intl.formatMessage({id: 'mobile.search.in_modifier_title', defaultMessage: 'channel-name'})}`,
modifier: `${intl.formatMessage({id: 'mobile.search.in_modifier_title', defaultMessage: 'channel-name'})}`,
description: intl.formatMessage({
id: 'mobile.search.in_modifier_description',
defaultMessage: 'to find posts in specific channels',
Expand Down

0 comments on commit ec9c2fb

Please sign in to comment.