Skip to content

Commit

Permalink
Update code for react-intl
Browse files Browse the repository at this point in the history
  • Loading branch information
ZubairImtiaz3 committed Sep 23, 2023
1 parent 3b8b535 commit effd350
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/manage/Sharing/Sharing.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ const messages = defineMessages({
searchForUserOrGroup: {
id: 'Search for user or group',
defaultMessage: 'Search for user or group',
},
ariaLabelSearch: {

Check failure on line 42 in src/components/manage/Sharing/Sharing.jsx

View workflow job for this annotation

GitHub Actions / ESlint (18.x)

Delete `··`
id: 'Aria Label Search',
defaultMessage: 'Search',
},
inherit: {
id: 'Inherit permissions from higher levels',
Expand Down Expand Up @@ -343,7 +347,7 @@ class SharingComponent extends Component {
icon: 'search',
loading: isLoading,
disabled: isLoading,
'aria-label': 'Search',
'aria-label': this.props.intl.formatMessage(messages.ariaLabelSearch),

Check failure on line 350 in src/components/manage/Sharing/Sharing.jsx

View workflow job for this annotation

GitHub Actions / ESlint (18.x)

Replace `messages.ariaLabelSearch` with `⏎····························messages.ariaLabelSearch,⏎··························`
}}
placeholder={this.props.intl.formatMessage(
messages.searchForUserOrGroup,
Expand Down

0 comments on commit effd350

Please sign in to comment.