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

Make the UI show the last version of the selected channel #652

Merged
merged 1 commit into from
Jan 7, 2021
Merged

Make the UI show the last version of the selected channel #652

merged 1 commit into from
Jan 7, 2021

Conversation

Senyoret1
Copy link
Contributor

Did you run make format && make check?
The go code was not changed. npm run lint and npm run build were used.

Changes:

  • Before this PR, if a custom channel for getting updates was set in the settings page, the manager used it for downloading the update, but the UI always showed the last version of the stable channel as the one that was going to be installed, which was obviously wrong if the user selected other channel. This PR solves that problem.

How to test this PR:
Set a custom channel for getting updates, using the form in the settings page, and try to update a visor. The updater modal window should show the last version of the selected channel as the one that will be installed and the dev tools should show a call to /api/visors/{pk}/update/available/{channel} instead of /api/visors/{pk}/update/available.

Copy link
Member

@jdknives jdknives left a comment

Choose a reason for hiding this comment

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

Good job.

@jdknives jdknives merged commit 4042fac into skycoin:develop Jan 7, 2021
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.

2 participants