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

[trello.com/c/AvS5QpYb]: fix error toast for unavailable node while refreshing the content #637

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

VeretennikovSV
Copy link
Collaborator

@VeretennikovSV VeretennikovSV commented Jan 9, 2025

There was a problem with the wrong logic of handling the unavailable nodes.
It was handled the first node in the list of unavailable ones and presented an error about this node no matter which node currently selected.
I've simply added some logic to compare the current selected wallet and its network system with unavailable nodes. And only if its system appeared in the list of unavailable nodes toast should be presented on a screen

https://trello.com/c/AvS5QpYb/738-bug-warning-window-no-active-nodes

…льшой рефакторинг. Отображение ошибки текущей выбранной ноды
@just-software-dev
Copy link
Member

If active coin nodes are good, pick up other coin where nodes are not available. E.g, ADM is chosen, but there are active nodes, show ~“No BTC nodes” if BTC nodes are not available. — not passed

@just-software-dev
Copy link
Member

Use English only in pull requests and commits

@VeretennikovSV VeretennikovSV changed the title Фикс отображения недоступных нод. [trello.com/c/AvS5QpYb]: fix error toast for unavailable node while refreshing the content Jan 10, 2025
Copy link
Collaborator

@ChrisBenua ChrisBenua left a comment

Choose a reason for hiding this comment

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

lgtm

@VeretennikovSV VeretennikovSV merged commit 3ec8341 into develop Jan 13, 2025
@VeretennikovSV VeretennikovSV deleted the dev/trello.com/c/AvS5QpYb branch January 14, 2025 13:26
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.

3 participants