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: removing a connection(podman machine) should redirect to previous page #3576

Merged
merged 1 commit into from Aug 17, 2023

Conversation

benoitf
Copy link
Collaborator

@benoitf benoitf commented Aug 17, 2023

What does this PR do?

when we remove a podman machine, connectionInfo object becomes undefined, then it was leading to failure on the rendering side and it's breaking all the UI until a reload of the screen

Screenshot/screencast of this PR

What issues does this PR fix or reference?

fixes #3572

How to test this PR?

Check use-case of issue or use unit test

Signed-off-by: Florent Benoit fbenoit@redhat.com

@benoitf benoitf requested a review from a team as a code owner August 17, 2023 10:22
@benoitf benoitf requested review from dgolovin and cdrage and removed request for a team August 17, 2023 10:22
…s page

fixes containers#3572
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
Copy link
Collaborator

@deboer-tim deboer-tim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code reviewed, tested, and confirmed test locally. LGTM.

@benoitf benoitf merged commit 5c21373 into containers:main Aug 17, 2023
8 checks passed
@podman-desktop-bot podman-desktop-bot added this to the 1.4.0 milestone Aug 17, 2023
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.

Deleting a podman machine from resource details page makes impossible to switch to other pages
3 participants