Skip to content

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

@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

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy