carbon-design-system / carbon-addons-iot-react

A collection of React components shared between IBM Maximo Asset Monitor (Watson IoT), IBM Maximo Visual Inspection, and Graphite products.
https://carbon-design-system.github.io/carbon-addons-iot-react/
Apache License 2.0
96 stars 78 forks source link

fix(datetimepickerv2withtimespinner): added null undefined check #3845

Closed abpaul1993 closed 9 months ago

abpaul1993 commented 9 months ago

Closes # GRAPHITE-73143 Summary In DateTimePickerV2WithTimeSpinner component there was an issue !singleDateValue.startDate in this logic because if the singleDateValue is null or undefined it was giving exception that cannot read properties of null.

Change List (commits, features, bugs, etc)

Acceptance Test (how to verify the PR)

Regression Test (how to make sure this PR doesn't break old functionality)

Things to look for during review

netlify[bot] commented 9 months ago

Deploy Preview for carbon-addons-iot-react ready!

Name Link
Latest commit b9fc0f2a6ff53f848d4b5e173e7ecb379c14c63b
Latest deploy log https://app.netlify.com/sites/carbon-addons-iot-react/deploys/65ddccaaf7e69300081f9bcd
Deploy Preview https://deploy-preview-3845--carbon-addons-iot-react.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.