Skip to content

Conversation

SarveshMD
Copy link
Contributor

@SarveshMD SarveshMD commented Oct 11, 2025

📌 Purpose

To prevent the download of empty "papers.zip" file when "Download Selected" is hit without any papers selected in any subject page.


Corresponding issue: closes #382


🖼️ Showcase

image ---

🔧 Changes

Fixed the bug by restructuring logic for checking empty selections. Earlier the if condition was wrong and the few lines above the condition didn't need to run before checking if there are no selections. So moved the condition up and fixed the logic.


@abhitrueprogrammer
Copy link
Collaborator

thanks for the contribution!

@abhitrueprogrammer abhitrueprogrammer merged commit c8535bd into CodeChefVIT:staging Oct 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants