Fix modifier typo in search screen (#5267) (#5280)

(cherry picked from commit ec9c2fba3d)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
This commit is contained in:
Mattermost Build 2021-04-06 17:11:21 +02:00 committed by GitHub
parent ed153010f5
commit 17e62878ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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:",
},

View file

@ -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',