Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle undefined assetChecksAvailable in current session (#17170)
## Summary & Motivation If you access a session from localStorage from before this release then this property won't exist. We correctly use the existential operator (?.) in [other places ](https://github.com/dagster-io/dagster/blob/45c5a47480b8f712d5c4c51e74213626d5061b79/js_modules/dagster-ui/packages/ui-core/src/launchpad/LaunchpadSession.tsx#L209)but looks like we forgot to use it here. ## How I Tested These Changes 1. Switched to release-1.5.2 2. Made a new launchpad config 3. Switched back to release-1.5.3 and saw the error: 4. <img width="1164" alt="Screenshot 2023-10-11 at 11 28 22 PM" src="https://github.com/dagster-io/dagster/assets/2286579/bfdec5bf-241d-429c-b64b-e4cae1f478da"> 5. Switched to this branch and saw the error go away
- Loading branch information
7f7eff5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for dagit-core-storybook ready!
✅ Preview
https://dagit-core-storybook-dtr1x5y43-elementl.vercel.app
Built with commit 7f7eff5.
This pull request is being automatically deployed with vercel-action