Skip to content

Commit 2aa83bc

Browse files
committed
BUGFIX: pass empty label when no label defined
1 parent ab42c98 commit 2aa83bc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Resources/Private/StructuredEditing/src/manifest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class InlineEditorEnvelope extends PureComponent {
5959
<div>
6060
<EditorEnvelope
6161
identifier={propertyName}
62-
label={$get('label', editorOptions)}
62+
label={$get('label', editorOptions) || ''}
6363
editor={$get('editor', editorOptions)}
6464
value={value && value.toJS ? value.toJS() : value}
6565
hooks={null}

Resources/Public/JavaScript/StructuredEditing/Plugin.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)