@@ -545,7 +535,7 @@ export class Dialog extends Component {
}
renderHeader() {
- if(this.props.showHeader) {
+ if (this.props.showHeader) {
let closeIcon = this.renderCloseIcon();
let maximizeIcon = this.renderMaximizeIcon();
@@ -573,7 +563,7 @@ export class Dialog extends Component {
}
renderFooter() {
- if(this.props.footer) {
+ if (this.props.footer) {
return (
{ this.footerElement = el; }} className="p-dialog-footer">{this.props.footer}
);
@@ -584,7 +574,7 @@ export class Dialog extends Component {
}
renderResizer() {
- if(this.props.resizable) {
+ if (this.props.resizable) {
return (
);
@@ -621,12 +611,9 @@ export class Dialog extends Component {
);
- if(this.props.appendTo) {
+ if (this.props.appendTo)
return ReactDOM.createPortal(element, this.props.appendTo);
- }
- else {
+ else
return element;
- }
-
}
}
\ No newline at end of file
diff --git a/src/components/tree/Tree.js b/src/components/tree/Tree.js
index 131bf9ae32..0e8af252fc 100644
--- a/src/components/tree/Tree.js
+++ b/src/components/tree/Tree.js
@@ -602,7 +602,7 @@ class UITreeNode extends Component {
{
this.props.node.children.map((childNode, index) => {
return (
-