Skip to content
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
7 changes: 4 additions & 3 deletions src/components/ReportWelcomeText.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ const personalDetailsPropTypes = PropTypes.shape({
login: PropTypes.string.isRequired,

/** The URL of the person's avatar (there should already be a default avatar if
the person doesn't have their own avatar uploaded yet) */
avatar: PropTypes.string.isRequired,
the person doesn't have their own avatar uploaded yet, except for anon users) */
avatar: PropTypes.string,

/** This is either the user's full name, or their login if full name is an empty string */
displayName: PropTypes.string.isRequired,
displayName: PropTypes.string,
});

const propTypes = {
Expand Down Expand Up @@ -82,6 +82,7 @@ function ReportWelcomeText(props) {
)}
{isChatRoom && (
<>
<Text>{props.translate('reportActionsView.beginningOfChatHistory')}</Text>
<Text>{roomWelcomeMessage.phrase1}</Text>
<Text
style={[styles.textStrong]}
Expand Down
6 changes: 3 additions & 3 deletions src/pages/workspace/WorkspaceInviteMessagePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ const personalDetailsPropTypes = PropTypes.shape({
login: PropTypes.string.isRequired,

/** The URL of the person's avatar (there should already be a default avatar if
the person doesn't have their own avatar uploaded yet) */
avatar: PropTypes.string.isRequired,
the person doesn't have their own avatar uploaded yet, except for anon users) */
avatar: PropTypes.string,

/** This is either the user's full name, or their login if full name is an empty string */
displayName: PropTypes.string.isRequired,
displayName: PropTypes.string,
});

const propTypes = {
Expand Down
6 changes: 3 additions & 3 deletions src/pages/workspace/WorkspaceInvitePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ const personalDetailsPropTypes = PropTypes.shape({
login: PropTypes.string.isRequired,

/** The URL of the person's avatar (there should already be a default avatar if
the person doesn't have their own avatar uploaded yet) */
avatar: PropTypes.string.isRequired,
the person doesn't have their own avatar uploaded yet, except for anon users) */
avatar: PropTypes.string,

/** This is either the user's full name, or their login if full name is an empty string */
displayName: PropTypes.string.isRequired,
displayName: PropTypes.string,
});

const propTypes = {
Expand Down