Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: Zero values for minimum or maximum were not rendered #1087

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

Merged
sserrata merged 1 commit into PaloAltoNetworks:main from c4phesua:main
Feb 19, 2025

Conversation

@c4phesua
Copy link
Contributor

@c4phesua c4phesua commented Feb 18, 2025
edited
Loading

Description

The check for maximum and minimum values missed the zero value, which is a falsy, so it was not rendered.

Motivation and Context

I’m using this addon for my project, but it doesn’t render the minimum/maximum value. #754 was supposed to fix the issue, but it still persists, so I decided to resolve it myself.

How Has This Been Tested?

  • Added more unit tests to cover all new cases and ensure both new and existing tests pass.
  • Tested in the demo, and everything is working fine.

Screenshots

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes if appropriate.
  • All new and existing tests passed.

Copy link

Visit the preview URL for this PR (updated for commit 29b609a):

https://docusaurus-openapi-36b86--pr1087-sp1tyjgb.web.app

(expires 2025年3月20日 22:39:17 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: bf293780ee827f578864d92193b8c2866acd459f

Copy link
Member

Hi @c4phesua, good catch! The changes LGTM...I'll work to merge by EOD. Thanks!

c4phesua reacted with thumbs up emoji

@sserrata sserrata merged commit 15fd9ba into PaloAltoNetworks:main Feb 19, 2025
13 checks passed
Copy link
Contributor Author

Thank you @sserrata

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /