fix(utils): add safety check for attributes.result in processDetails (#19923)
This commit is contained in:
@@ -871,7 +871,9 @@ export const processDetails = (content) => {
|
|||||||
attributes[attributeMatch[1]] = attributeMatch[2];
|
attributes[attributeMatch[1]] = attributeMatch[2];
|
||||||
}
|
}
|
||||||
|
|
||||||
content = content.replace(match, `"${attributes.result}"`);
|
if (attributes.result) {
|
||||||
|
content = content.replace(match, `"${attributes.result}"`);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user