You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running Coder in development mode using ./scripts/develop.sh, and navigating to /deployment/overview, an error is displayed. After some investigation from @dannykopping, he found the issue happens when there are no experiments set.
Relevant Log Output
Cannot read property of null (reading 'includes')
Expected Behavior
The page should be loaded without any errors.
Steps to Reproduce
Run ./scripts/develop.sh without setting any experiments
Fix#17583
**Relevant info**
- `option.value` can be `null`
- It is always better to use `unknown` instead of `any`, and use type
assertion functions as `Array.isArray()` before using/accessing object
properties and functions
Is there an existing issue for this?
Current Behavior
After running Coder in development mode using
./scripts/develop.sh
, and navigating to/deployment/overview
, an error is displayed. After some investigation from @dannykopping, he found the issue happens when there are no experiments set.Relevant Log Output
Expected Behavior
The page should be loaded without any errors.
Steps to Reproduce
./scripts/develop.sh
without setting any experiments/deployment/overview
Environment
Additional Context
The issue is new (previously worked fine)
The text was updated successfully, but these errors were encountered: