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

Clear selectedEpisodes on download. #946

Merged

Conversation

barrycarey
Copy link
Contributor

Clears the selectedEpisodes once the download is started. Fixes #931.

Also, clicking on the checkbox for existing downloads still added that item to the list. Moved onClick to checkbox instead of container div to prevent this.

@barrycarey barrycarey closed this Aug 28, 2022
@barrycarey
Copy link
Contributor Author

Idiot move on my part making a PR 10 minute after looking at the code for the first time. Will reopen tomorrow with a proper fix.

@barrycarey barrycarey reopened this Aug 28, 2022
@advplyr
Copy link
Owner

advplyr commented Aug 28, 2022

I'm looking through this modal and it is a mess so I'm going to make some more updates in your PR. I also think the toggle shouldn't requiring clicking the checkbox.

@barrycarey
Copy link
Contributor Author

barrycarey commented Aug 28, 2022

Sounds good.

As for the toggle, do you mean it should active by clicking clicking anywhere on the line?

Also, the setting of selected episodes in the init method seems unnecessary.

@advplyr
Copy link
Owner

advplyr commented Aug 28, 2022

Yeah that's what I mean and yeah the init is unnecessary. I'm going to do a refactor now

@advplyr advplyr merged commit 91e1169 into advplyr:master Aug 28, 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
2 participants