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(jodie-core): Allow 0 for homepagePageLimit and homepageProjectLimit #1311

Merged
merged 2 commits into from
Feb 11, 2024

Conversation

vhermecz
Copy link
Contributor

@vhermecz vhermecz commented Feb 4, 2024

Replacing logical or with the nullish coalescing operator allows 0 to be picked from the themeOptions, and wont be overridden by the provided default.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing

Replacing logical or with the nullish coalescing operator allows 0 to be picked from the themeOptions, and wont be overridden by the provided default.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing
Copy link

netlify bot commented Feb 4, 2024

👷 Deploy request for gatsby-themes pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit bbe7d91

Copy link

changeset-bot bot commented Feb 4, 2024

🦋 Changeset detected

Latest commit: bbe7d91

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@lekoarts/gatsby-theme-jodie-core Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@LekoArts LekoArts changed the title Support 0 config values fix(jodie-core): Allow 0 for homepagePageLimit and homepageProjectLimit Feb 11, 2024
Copy link
Owner

@LekoArts LekoArts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

@LekoArts LekoArts merged commit 93f8009 into LekoArts:main Feb 11, 2024
9 of 10 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.

None yet

2 participants