Skip to content

Commit

Permalink
Merge pull request #28812 from graylewis/Gray-ShareCode-404
Browse files Browse the repository at this point in the history
Initial fix
  • Loading branch information
madmax330 authored Oct 6, 2023
2 parents 779a1e5 + a01e7d5 commit bffbf7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/ProfilePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function ProfilePage(props) {
const phoneOrEmail = isSMSLogin ? getPhoneNumber(details) : login;

const isCurrentUser = _.keys(props.loginList).includes(login);
const hasMinimumDetails = !_.isEmpty(details.avatar);
const hasMinimumDetails = !_.isEmpty(details.avatar) && !_.isUndefined(details.displayName);
const isLoading = lodashGet(details, 'isLoading', false) || _.isEmpty(details) || props.isLoadingReportData;

// If the API returns an error for some reason there won't be any details and isLoading will get set to false, so we want to show a blocking screen
Expand Down

0 comments on commit bffbf7d

Please sign in to comment.