Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented: code to use user profile component from the dxp-components (dxp/169) #172

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

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