Skip to content

Commit

Permalink
BUGFIX: handle linkEditor: false correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaip committed Jul 31, 2019
1 parent c8f6642 commit 6ad999c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Resources/Private/LinkEditor/src/LinkEditorOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default class LinkEditorOptions extends PureComponent {
}

render() {
return $get('linkEditor', this.props.linkingOptions) && (
return $get('linkEditor', this.props.linkingOptions) ? (
<div style={{flexGrow: 1}}>
<div style={{padding: 8}}>
Interaction Type
Expand Down Expand Up @@ -87,6 +87,6 @@ export default class LinkEditorOptions extends PureComponent {
/>
</div>
</div>
);
) : null;
}
}
4 changes: 2 additions & 2 deletions Resources/Public/JavaScript/LinkEditor/Plugin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6ad999c

Please sign in to comment.