Skip to content

Commit

Permalink
EPMRPP-98878 || Error userId is not defined is displayed when navigat…
Browse files Browse the repository at this point in the history
…ing on the My profile page
  • Loading branch information
BlazarQSO committed Jan 17, 2025
1 parent db24a6c commit 0232afc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,11 @@ export class PersonalInfoBlock extends Component {
};

render() {
const { intl, accountType, userLogin, isDemoInstance } = this.props;
const { intl, accountType, userLogin, isDemoInstance, userId } = this.props;
const { forceUpdateInProgress } = this.state;
const isDefaultUser = userLogin === DEFAULT_USER_ID;
const isChangePasswordDisabled = isDemoInstance && isDefaultUser;

return (
<div className={cx('personal-info-block')}>
<BlockContainerBody>
Expand Down

0 comments on commit 0232afc

Please sign in to comment.