diff --git a/geppetto-ui/src/list-viewer/ListViewer.js b/geppetto-ui/src/list-viewer/ListViewer.js
index ddb0f04e4..3034b4824 100644
--- a/geppetto-ui/src/list-viewer/ListViewer.js
+++ b/geppetto-ui/src/list-viewer/ListViewer.js
@@ -348,7 +348,7 @@ export default class ListViewer extends React.Component {
-
+ { this.props.showPagination === false ? null :
}
);
}
@@ -379,7 +379,7 @@ export default class ListViewer extends React.Component {
: {};
const { events, ...others } = this.props;
return (
-
+
- {this.props.button.icon !== '' ? (
-
-
-
- ) : undefined}
+ { this.props.button.icon !== ""
+ ? this.props.button.caret
+ ? this.props.button.caret.show
+ ?
+ {this.props.button.icon ? this.props.button.icon : null}
+ {this.props.menuOpen ? this.props.button.caret.closedIcon : this.props.button.caret.expandedIcon }
+
+ :
+ {this.props.button.icon ? this.props.button.icon : null}
+
+ :
+ {this.props.button.icon ? this.props.button.icon : null}
+
+ : undefined
+ }
{this.props.button.label}