Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client: fix client forever loading when connecting to off server #1647

Merged
merged 1 commit into from
Jun 7, 2022

Conversation

vctt94
Copy link
Member

@vctt94 vctt94 commented Jun 3, 2022

closes #1495

Copy link
Member

@JoeGruffins JoeGruffins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, that's all it took.

@@ -2228,7 +2228,7 @@ class MarketList {
/* exists will be true if the specified market exists. */
exists (host: string, baseID: number, quoteID: number) {
const xc = this.xcSection(host)
if (!xc) return false
if (!xc || !xc.marketRows) return false
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could maybe use a comment as to why this is necessary so it doesn't get broken again in the future.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review Joe, I added the comment.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JoeGruffins did you say you got an error on the wallets page too (as well as the markets page)? It looks like @martonp fixed that in 30e29d7#diff-1fb1a75f430311eb5c798880a2edbce5c4f529a823bd265bf255b3f4ba0cd8d9

@chappjc chappjc merged commit 81ef072 into decred:master Jun 7, 2022
@chappjc chappjc added this to the 0.5 milestone Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

client: web UI shows markets progress bar everywhere when not conneted to a dex.
3 participants