Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1196 from 18F/js-change-invite-wording
Browse files Browse the repository at this point in the history
changed wording on invite existing user selector
  • Loading branch information
Andrew Suprenant authored Aug 15, 2017
2 parents 21ab0e2 + 3695b8d commit b6557b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions static_src/components/users_selector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ export default class UsersSelector extends React.Component {
const { parentEntity } = this.props;
const { currentEntity } = this.props;

return `Invite an existing user in this ${parentEntity}` +
` to this ${currentEntity}.`;
return `Invite an existing ${parentEntity} user to this ${currentEntity}.`;
}

get userSelector() {
Expand Down
2 changes: 1 addition & 1 deletion static_src/test/unit/components/users_selector.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('<UsersSelector />', function () {
});

it('displays proper message', () => {
const doc = 'Invite an existing user in this organization to this space.';
const doc = 'Invite an existing organization user to this space.';
expect(wrapper.find(PanelDocumentation).find('p').text()).toBe(doc);
});
});
Expand Down

0 comments on commit b6557b0

Please sign in to comment.