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

Fix topic page empty sources #2078

Merged
merged 3 commits into from
Oct 28, 2024
Merged

Conversation

nsantacruz
Copy link
Contributor

Description

Fix for pages like this https://www.sefaria.org.il/topics/machloket-lshem-shamayim?tab=admin where there are only notable sources and no non-notable sources

Code Changes

Assumption in processTopicsData() was that the "sources" tab exists if there are notable sources. Now we check that that's true.

Notes

Any additional notes go here

@nsantacruz nsantacruz merged commit 16df431 into master Oct 28, 2024
14 of 16 checks passed
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