Skip to content

Commit

Permalink
Improved: code for auto select first shopify config when adding mappi…
Browse files Browse the repository at this point in the history
…ng (#150)
  • Loading branch information
amansinghbais committed Dec 28, 2023
1 parent e39bfde commit 2429774
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/FacilityShopifyMappingModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ export default defineComponent({
props: ["shopifyFacilityMapping", "type"],
async mounted() {
this.shopifyLocationId = this.shopifyFacilityMapping?.shopifyLocationId
await this.fetchShopifyShops()
await this.fetchShopifyShops()
this.shopId = this.shopifyShops[0]?.shopId
},
methods: {
closeModal() {
Expand Down

0 comments on commit 2429774

Please sign in to comment.