Skip to content

Conversation

@amansinghbais
Copy link
Contributor

Related Issues

Related Issue: hotwax/dxp-components#169

Short Description and Why It's Useful

Improved the code to use the centralized user profile component implemented in dxp-components.

Steps to verify

This PR is build to test the proper implementation of user profile component in dxp-components. hotwax/dxp-components#199

Screenshots of Visual Changes before/after (If There Are Any)

IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change

Contribution and Currently Important Rules Acceptance

<!-- <ion-button fill="outline" color="medium">{{ $t("Reset password") }}</ion-button> -->
</ion-card>
</div>
<DxpUserProfile @reset-state-before-logout="resetStateBeforeLogout" :userProfile="userProfile" logoutLabel="Logout" goToLabel="Go to Launchpad" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the PR as per the changes in dxp component.

window.location.href = `${process.env.VUE_APP_LOGIN_URL}?isLoggedOut=true&redirectUrl=${redirectUrl}`
})
async resetStateBeforeLogout() {
await this.store.dispatch('picklist/clearPicklist')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
await this.store.dispatch('picklist/clearPicklist')
await this.store.dispatch('picklist/clearPicklist')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants