Skip to content

Commit

Permalink
πŸ› Fix typePayload was not parsed after shippingRate update
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Mar 19, 2024
1 parent ffc3ec0 commit a2c78ff
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pages/nft-book-store/collection/status/[collectionId].vue
Original file line number Diff line number Diff line change
Expand Up @@ -955,6 +955,13 @@ async function updateShippingRates (value: any) {
shippingRates: value
})
collectionListingInfo.value = (await collectionStore.fetchCollectionById(collectionId.value as string)).value
const typePayload = collectionListingInfo.value.typePayload
if (typePayload) {
collectionListingInfo.value = {
...collectionListingInfo.value,
...typePayload
}
}
} catch (err) {
const errorData = (err as any).data || err
error.value = errorData
Expand Down

0 comments on commit a2c78ff

Please sign in to comment.