Skip to content

bug: /deployment/overview page is broken when no experiments are set #17583

Closed
@BrunoQuaresma

Description

@BrunoQuaresma

Is there an existing issue for this?

  • I have searched the existing issues

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

Cannot read property of null (reading 'includes')

Expected Behavior

The page should be loaded without any errors.

Steps to Reproduce

  1. Run ./scripts/develop.sh without setting any experiments
  2. Navigate to /deployment/overview

Environment

Additional Context

The issue is new (previously worked fine)

Metadata

Metadata

Assignees

Labels

siteArea: frontend dashboard

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions