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(FLowsList): Evaluate action confirmation when deleting a Flow #1662

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

lordrip
Copy link
Member

@lordrip lordrip commented Nov 26, 2024

Context

Currently, when deleting a flow, the confirmation modal is not properly evaluated, leading to always deleting the flow regardless of the user's choice.

Changes

The fix is to check the return of the modal and act in consequence.

fix: #1660

@lordrip lordrip requested review from apupier and tplevko November 26, 2024 08:52
Currently, when deleting a flow, the confirmation modal is not properly
evaluated, leading to always deleting the flow regardless of the user
choice.

The fix is to check the return of the modal and act in consequence.

fix: KaotoIO#1660
@lordrip lordrip force-pushed the fix/cancel-delete-route branch from 9e1bd9a to 54bcb82 Compare November 26, 2024 08:55
Copy link

codecov bot commented Nov 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@51012ff). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1662   +/-   ##
=======================================
  Coverage        ?   84.02%           
  Complexity      ?      365           
=======================================
  Files           ?      284           
  Lines           ?     8145           
  Branches        ?     1606           
=======================================
  Hits            ?     6844           
  Misses          ?     1162           
  Partials        ?      139           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lordrip lordrip merged commit e2b4778 into KaotoIO:main Nov 26, 2024
11 checks passed
@lordrip lordrip deleted the fix/cancel-delete-route branch November 26, 2024 11:10
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.

On Delete route - when user presses cancel, the route gets deleted
4 participants