bitshares-ui
bitshares-ui copied to clipboard
[0.75] Margin positions list in asset info page doesn't refresh when URL changed
Describe the bug Margin positions list in asset info page doesn't refresh when URL changed
To Reproduce Steps to reproduce the behavior:
-
Go to 'https://wallet.bitshares.org/#/asset/CNY'
-
Scroll down to "margin positions"

-
Go to 'https://wallet.bitshares.org/#/asset/USD' (change URL in address bar)
-
Scroll down to "margin positions", the list still shows bitCNY positions

Expected behavior Updated list.
Screenshots See above.
Perhaps I didn't experience this as I didn't use the # tag in the URL locally.
- Open https://wallet.bitshares.org
- click "explore" -> "assets", search for "CNY", click "bitCNY" from the result,
- I see https://wallet.bitshares.org/#/asset/CNY in address bar
Requires some investigation on why this happens on the hosted pages. Seems the # makes it not recognize the change by the user.
Interestingly some data on the same page changes after URL changed.
Seems everything except the margin list is updated. I guess there's a chain query not firing correctly.

Is this still an issue? When I take a look all I see is the screenshot above.
The screenshot above was from "https://wallet.bitshares.org/#/asset/USD" not "https://wallet.bitshares.org/#/asset/CYN"