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

Improved: Fixed popover not closing and corrected the primary store tag display issue(#304) #317

Merged
merged 3 commits into from
Nov 20, 2024

Conversation

R-Sourabh
Copy link
Contributor

@R-Sourabh R-Sourabh commented Sep 23, 2024

Related Issues

#304

Short Description and Why It's Useful

  • Fixed the issue where the product store option popover was not closing when setting the store as primary.
  • Corrected the primary store tag display to appear as expected when relinking a store that was previously set as the primary before being unlinked.

Contribution and Currently Important Rules Acceptance

@@ -76,7 +76,7 @@ export default defineComponent({
primaryFacilityGroupId: ''
})
}

await this.store.dispatch('facility/updateCurrentFacility', { ...this.current, primaryFacilityGroupId: '' })
Copy link
Contributor

Choose a reason for hiding this comment

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

We should update the current facility to primaryFacilityGroupId='' only when updateFacility api is successful. So move the code inside the if block.

@R-Sourabh R-Sourabh requested a review from ravilodhi November 20, 2024 05:36
@ravilodhi ravilodhi merged commit d0a7da3 into hotwax:main Nov 20, 2024
2 checks passed
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