Deleting last route from the canvas doesn't get reflected in the code editor
tplevko opened this issue · 2 comments
tplevko commented
Describe the Bug
When users delete the route using the delete dropdown - the route sources stay in the code editor.
Steps to Reproduce the Bug or Issue
- create a route
- specify route steps
- delete the route using the dropdown
- see the route source remains in the code editor
Screenshots or Videos
Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [last]
igarashitm commented
It might be related to or same root cause with #2077
igarashitm commented
When a user clicks the route delete button, the frontend is supposed to send an empty Kaoto JSON and get the empty YAML, but it doesn't. Only view-definitions
request is observed.