Skip to content

fix: Update API Views#3987

Merged
PatrikKozak merged 1 commit intopayloadcms:mainfrom
SimYunSup:fix/#3986
Nov 6, 2023
Merged

fix: Update API Views#3987
PatrikKozak merged 1 commit intopayloadcms:mainfrom
SimYunSup:fix/#3986

Conversation

@SimYunSup
Copy link
Copy Markdown
Contributor

Description

Fix #3986 .
It produced because RecursivelyRenderObjectData doesn't categorize boolean data. So I added conditional logic and view logic.

  • I have read and understand the CONTRIBUTING.md document in this repository.

Type of change

  • Chore (non-breaking change which does not add functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Change to the templates directory (does not affect core functionality)
  • Change to the examples directory (does not affect core functionality)
  • This change requires a documentation update

Checklist:

  • I have added tests that prove my fix is effective or that my feature works
  • Existing test suite passes locally with my changes
  • I have made corresponding changes to the documentation

@JarrodMFlesch
Copy link
Copy Markdown
Contributor

Hey @SimYunSup thanks for making this PR! Once the tests pass I will merge this in, looks great 👍

@PatrikKozak PatrikKozak merged commit 3e5149b into payloadcms:main Nov 6, 2023
@SimYunSup SimYunSup deleted the fix/#3986 branch January 17, 2024 01:56
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.

Checkbox value is displayed as "true" instead of true

3 participants