Skip to content

Commit d7cf618

Browse files
committed
1807 - client -Separate mime content type for raw and binary
1 parent 851ad47 commit d7cf618

File tree

1 file changed

+1
-1
lines changed
  • client/src/pages/platform/workflow-editor/components/Properties

1 file changed

+1
-1
lines changed

client/src/pages/platform/workflow-editor/components/Properties/Property.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ const Property = ({
273273

274274
strippedValue = strippedValue.replace(/<\/p><p>/g, '\n');
275275

276-
if (propertyParameterValue?.includes('\n')) {
276+
if (typeof propertyParameterValue === 'string' && propertyParameterValue.includes('\n')) {
277277
const equal =
278278
sanitizeHtml(propertyParameterValue, {allowedTags: []}).trim() ===
279279
sanitizeHtml(mentionInputValue, {allowedTags: []}).trim();

0 commit comments

Comments
 (0)