Skip to content

Clicking the Start or Stop button in cluster details leads to no change in the buttons state #39

@BarcoMasile

Description

@BarcoMasile

Currently when clicking Start or Stop button on a cluster instance, when loading is terminated the button is still in enabled state.

The issue is rooted in the fact that instances is continuously fetched from the backend, it's content changes, but the selectedInstances keeps a reference to the old/stale value.
For instance, if the instance in the instances array goes from status=Running to status=Stopped, this change is never reflected in the selectedInstance.

Workaround

Refresh the page to see the updated button state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions