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

changed wording on invite existing user selector #1196

Merged
merged 1 commit into from
Aug 15, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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