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(measurements): Cached stats are now considered non-existent for various null or undefined attributes. #810

Merged
merged 2 commits into from
Oct 4, 2023

Conversation

jbocce
Copy link
Contributor

@jbocce jbocce commented Oct 4, 2023

Context

Cached stats are not getting recalculated when not actually calculated and null values solely exist in the various fields.

Changes & Results

Added various null checkes.

Testing

Checklist

PR

  • My Pull Request title is descriptive, accurate and follows the
    semantic-release format and guidelines.

Code

Public Documentation Updates

  • The documentation page has been updated as necessary for any public API
    additions or removals.

Tested Environment

  • "OS: Windows 11
  • "Node version: 16.14.0
  • "Browser: Chrome 117.0.5938.132

@netlify
Copy link

netlify bot commented Oct 4, 2023

Deploy Preview for cornerstone-3d-docs ready!

Name Link
🔨 Latest commit 1d514a6
🔍 Latest deploy log https://app.netlify.com/sites/cornerstone-3d-docs/deploys/651d83e0c04e7200072bbbe7
😎 Deploy Preview https://deploy-preview-810--cornerstone-3d-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@jbocce jbocce requested a review from sedghi October 4, 2023 15:21
@sedghi
Copy link
Member

sedghi commented Oct 4, 2023

fixes OHIF/Viewers#3537

@sedghi sedghi merged commit 2d7f7b6 into cornerstonejs:main Oct 4, 2023
9 checks passed
@jbocce jbocce deleted the fix/measurement-cached-stats branch October 4, 2023 18:44
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