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

Kustomization breaks UI #99

Open
SorsOps opened this issue Apr 17, 2024 · 1 comment
Open

Kustomization breaks UI #99

SorsOps opened this issue Apr 17, 2024 · 1 comment

Comments

@SorsOps
Copy link
Contributor

SorsOps commented Apr 17, 2024

This line is causing a break in the UI when I navigate to kustomizations and causing the entire UI to crash

const source = findSource(sources, item)

I have one kustomization that is in an error state that is the likely culprit, but I don't expect the entire App to crash if this happens,

We should add an error boundary for cases like this to prevent the entire UI from crashing and also in the case that a kustomization is in an errored state

@jonasbadstuebner
Copy link

const parsed = Date.parse(artifact.lastUpdateTime, "yyyy-MM-dd'T'HH:mm:ss");

also breaks the UI with the Console saying

TypeError: undefined has no properties

So without further debugging it, I guess the Status in line 6 has no property artifact.

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

No branches or pull requests

2 participants