[BUG] Cancel task option enabled after cancel has completed #1993
Labels
kind/bug
Categorizes issue or PR as related to a bug.
priority/normal
Higher priority than priority/minor. Nice to have.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Milestone
Is there an existing issue for this?
Konveyor version
latest
Priority
Critical
Current Behavior
The "Cancel" option remains enabled in the kebab menu, allowing users to attempt cancellation again, which can lead to confusion and potential errors.
Expected Behavior
After the successful cancellation of an analysis, the "Cancel" option should be disabled or removed from the kebab menu for the affected application row.
How Reproducible
Always (Default)
Steps To Reproduce
Navigate to the application table view.
Start an analysis on any application.
Click on the kebab menu (three vertical dots) for the application row where the analysis is running.
Select the "Cancel" option to cancel the analysis.
Confirm the cancellation and wait for it to complete successfully.
Click on the kebab menu for the same application row again.
Environment
- OS:
Anything else?
No response
The text was updated successfully, but these errors were encountered: