-
Notifications
You must be signed in to change notification settings - Fork 6
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(client): do not crash the UI when showing all workflows #2502
Conversation
89e1ac2
to
688b08b
Compare
You can access the deployment of this PR at https://renku-ci-ui-2502.dev.renku.ch |
688b08b
to
39398ab
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simple and effective 👌
3f1be96
to
a429f95
Compare
a429f95
to
a72a2c1
Compare
a72a2c1
to
5a0902f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding the tests!
Tearing down the temporary RenkuLab deplyoment for this PR. |
The workflows list passed from RTK query is read-only, but we call
.sort()
to order the workflow list. As a fix, we simply copy the list into a new array when we list all workflows ("show inactive workflows" toggle).Fixes #2488.
/deploy #persist #cypress