Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

ui: make <ResourceTable> resilient to resources without IDs #3929

Merged
merged 1 commit into from
Sep 23, 2022

Conversation

jgwhite
Copy link
Contributor

@jgwhite jgwhite commented Sep 23, 2022

Why the change?

See #3928 for some background. In short, this stops the app from crashing hard when it encounters a resource without an ID.

What does it look like?

Before

CleanShot 2022-09-23 at 16 46 41@2x

After

CleanShot 2022-09-23 at 16 47 54@2x

How do I test it?

  1. Check out the branch
  2. Run Waypoint Server locally
  3. cd ui && yarn start local
  4. Deploy an app to aws-ecs (without having remote runner or gitops configured)
  5. Visit the deployment page in the UI
  6. Verify it doesn’t crash

ui/app/styles/utilities/_index.scss Outdated Show resolved Hide resolved
Addresses #3928

Co-authored-by: Shirley Xiaolin Xu <xiaolin@hashicorp.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants