Xabaril / Esquio

Esquio is a Feature Toggle Library for .NET Developers.
Apache License 2.0
428 stars 49 forks source link

fix(products): fix stale product description #122

Closed beasync closed 4 years ago

beasync commented 4 years ago

Contains the following changes:

TL;DR

Fix stale product description

After adding a new product, the DOM structure of the previous cards is reused, causing the description of the product that previously occupied its position in the grid to appear when editing the description of the new product.

Adding the @key property forces to discard the previous DOM structure generating a new structure for the newly added product, solving the problem.

Before:

stale_product_cards_before

After:

stale_product_cards_after

Fix AccessTokenNotAvailableException handling in EsquioHttpClient

Addition of the AccessTokenNotAvailableException exception handling as specified in the documentation, redirecting the user without an available access token to the authentication flow.

unaizorrilla commented 4 years ago

Merged! thanks, I think there is some issue on github because the check failing is not sense!