Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix UI bug when there are no experiment phases #1446

Merged
merged 1 commit into from
Jul 11, 2023
Merged

Conversation

jdorn
Copy link
Member

@jdorn jdorn commented Jul 11, 2023

Features and Changes

If an experiment has no phases (experiment.phases === []), the new experiment page throws an error. This PR adds proper type hints and optional chaining to prevent this.

@jdorn jdorn merged commit 03d8da6 into main Jul 11, 2023
2 of 3 checks passed
@jdorn jdorn deleted the fix-empty-phases-bug branch July 11, 2023 04:26
@github-actions
Copy link

Your preview environment pr-1446-bttf has been deployed with errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant