Open Adameddy26 opened 2 months ago
Issue verified in release v1.9.3 and found that product store option popover is not getting closed when user is trying to make the product store primary and error toast message is generated(due to absence of shopify shop).
It has been observed that the primary store tag appears alongside the product store name when the user links same store that was previously set as the primary store before being unlinked. https://jam.dev/c/0198a696-bc9a-4778-b985-d253a476e05d https://jam.dev/c/04975502-1c5f-45c6-a86a-dc869a525ba0
Hence, reopening this ticket.
Note
Also when user unlinks the initial primary product store and again links the same, 'primary store' tag is getting added to it. Also it is observed that continous loading occurs on UI when multiple product stores are added and user unlinks the primary product store second time or afterwards.
Current behavior
The system does not allow the user to set any other product store as primary after the first one is removed.
Expected behavior
The user should be able to successfully set another product store as the primary after the initial primary store is removed.
Steps to reproduce the issue
Navigate to the product store settings of a facility. Remove the current primary product store. Attempt to set another existing product store as the primary and observe the issue.
Environment details
App version : v1.9.2 App environment : UAT
Additional information
https://jam.dev/c/6eeb1312-5a6e-436c-8151-15b91f55bcc5