Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
assistant_context_editor: Fix patch block not rendering due to window…
… reborrow (cherry-pick #24461) (#24464) Cherry-picked assistant_context_editor: Fix patch block not rendering due to window reborrow (#24461) This PR fixes an issue where the Assistant patch block was not being rendered when using "Suggest Edits". The issue was that the `BlockContext` already has a borrow of the `Window`, so we can't use `update_in` to reborrow the window. The fix is to reuse the existing `&mut Window` reference from the `BlockContext` so we don't need to `update_in`. Closes #24169. Release Notes: - Assistant: Fixed an issue where the patch block was not being rendered when using "Suggest Edits". --------- Co-authored-by: Max <[email protected]> Co-authored-by: Marshall Bowers <[email protected]> Co-authored-by: Max <[email protected]>
- Loading branch information