Skip to content

Conversation

RomneyDa
Copy link
Collaborator

@RomneyDa RomneyDa commented Sep 20, 2025

Description

Fixes #7838


Summary by cubic

Fixes a runtime error in FindAndReplaceDisplay where map was called on a non-array edits value, causing the UI to crash.
We now guard with Array.isArray and return an empty string when invalid, preventing crashes and stabilizing diff rendering.

@RomneyDa RomneyDa requested a review from a team as a code owner September 20, 2025 05:09
@RomneyDa RomneyDa requested review from sestinj and removed request for a team September 20, 2025 05:09
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Sep 20, 2025
@RomneyDa RomneyDa mentioned this pull request Sep 20, 2025
4 tasks
Copy link

AI Code Review

AI review failed due to service initialization issues. Please check the Continue API key and configuration.

No specific line comments generated.


💡 To request a new detailed review, comment @continue-detailed-review

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

r.map is not a function
1 participant