Website
Website copied to clipboard
Stable download link and preview are reversed
Before you start...
- [X] Have you refreshed the page? You might be using an old version of the site.
- [X] Have you checked for an existing issue on this topic? If there is one, post a comment on it instead.
What browsers are you seeing the problem on?
Chrome
Description
On the home page of the site, in the drop-down menu for downloading Files, the ''Stable Version'' button sends to the download link for the preview version, while the ''Preview Version'' button sends to the download link for the stable version
Steps To Reproduce
- Go to https://files.community/
- Open the drop-down menu
- Choose between Stable and Preview
Expected behavior
The Stable button links to the download link for the stable version and vice versa
Relevant Assets
@yaichenbaum can you take a look in the installers? I don't see anything wrong on the Svelte side.
@TheOnlyTails to reproduce
- Download the sideload package
- Download the sideload preview package and see it still downloads the sideload package
The correct way to fix this would be to stop saving the last option the user choose. The primary button should always be the store.
@Tropix126 is there a chance you could make this change? I'm on vacation and won't have access to an editor for at least a week.
I would like to point out that no matter which option is registered, the bug is always present
Sorry I closed I click the wrong button
The bug is still not patched on my side