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 demo when articles table is empty #603

Merged
merged 5 commits into from
May 27, 2024
Merged

Fix demo when articles table is empty #603

merged 5 commits into from
May 27, 2024

Conversation

pxpm
Copy link
Contributor

@pxpm pxpm commented May 27, 2024

WHY

BEFORE - What was wrong? What was happening before this PR?

When articles table is empty this bit of code would throw an error.

AFTER - What is happening after this PR?

It checks if there are articles, avoiding the error.

@pxpm pxpm merged commit 693aac0 into main May 27, 2024
4 checks passed
@pxpm pxpm deleted the fix-demo-when-db-is-empty branch May 27, 2024 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants