OpenHands
OpenHands copied to clipboard
Fix: [Bug] Do not render editor action buttons (save/discard) when displaying non-code files
End-user friendly description of the problem this fixes or functionality that this introduces
- [ ] Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below
Give a summary of what the PR does, explaining any non-trivial design decisions
We checks if the selected file matches expected filetypes for assets that aren't code files. In this case we decide not to render the action buttons
Link of any specific issues this addresses #4899