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

app: Fix registration flow forms #2750

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

martonp
Copy link
Contributor

@martonp martonp commented Apr 27, 2024

The registration flow didn't take into account the case where an exchange had not yet been added to user.Exchanges. It assumed the exchange would already be view only.

Closes #2749

@martonp martonp marked this pull request as ready for review April 27, 2024 14:48
@martonp martonp changed the title app: Fix bond asset selection form app: Fix registration flow forms Apr 27, 2024
Comment on lines 1092 to 1103
refresh () {
this.setExchange(app().exchanges[this.host])
this.setExchange(this.xc)
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Information about this exchange might have changed in app().exchanges I think.

@ukane-philemon
Copy link
Contributor

The registration flow didn't take into account the case where an exchange had not yet been added to user.Exchanges

whatever call site where we open the affected form can add the exchange to app().exchanges until it's eventually updated later?

@buck54321
Copy link
Member

I had rolled a fix into #2737 already, but I'll merge this first

@buck54321
Copy link
Member

Oops. Made a conflict.

@buck54321
Copy link
Member

I had rolled a fix into #2737 already, but I'll merge this first

Fudge. I merged it.

The registration flow didn't take into account the case where an exchange
had not yet been added to user.Exchanges. It assumed the exchange would
already be view only.
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.

app: Cannot select bond asset
3 participants