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(app): Prevent a crash when modality is undefined instead of null/string #2681

Merged
merged 1 commit into from
Oct 4, 2022

Conversation

nellh
Copy link
Contributor

@nellh nellh commented Oct 4, 2022

Adds a test and fixes #2680

@nellh nellh force-pushed the 2680-undefined-modality-crash-fix branch from 0a5a32b to 18f7fb7 Compare October 4, 2022 15:46
@codecov
Copy link

codecov bot commented Oct 4, 2022

Codecov Report

Merging #2681 (18f7fb7) into master (9fd5fe0) will increase coverage by 0.12%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #2681      +/-   ##
==========================================
+ Coverage   39.65%   39.78%   +0.12%     
==========================================
  Files         561      561              
  Lines       34281    34281              
  Branches      910      912       +2     
==========================================
+ Hits        13594    13637      +43     
+ Misses      20562    20519      -43     
  Partials      125      125              
Impacted Files Coverage Δ
...openneuro-components/src/dataset/DatasetHeader.tsx 100.00% <100.00%> (+100.00%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@nellh nellh merged commit 759ff21 into master Oct 4, 2022
@nellh nellh deleted the 2680-undefined-modality-crash-fix branch October 4, 2022 19:45
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.

ds002016 v1.0.0 hits TypeError during render
1 participant