|
|
|
@ -258,7 +258,7 @@ export class DataList extends React.Component<IDataListProps> {
|
|
|
|
|
{
|
|
|
|
|
const { dataList, isSmaller, idKey, selectData, activeId, isSvg, isFromResource, renderButtons } = this.props;
|
|
|
|
|
return (
|
|
|
|
|
<>
|
|
|
|
|
<div>
|
|
|
|
|
{
|
|
|
|
|
dataList.length > 0 && !isSmaller &&
|
|
|
|
|
<div className="info-header">
|
|
|
|
@ -335,7 +335,7 @@ export class DataList extends React.Component<IDataListProps> {
|
|
|
|
|
}
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@ -365,7 +365,7 @@ export class DataList extends React.Component<IDataListProps> {
|
|
|
|
|
<div
|
|
|
|
|
id={"data-list"}
|
|
|
|
|
ref={this.DataListEl}
|
|
|
|
|
className={this.props.className + " " + (this.props.showInfos ? "small" : "big")}
|
|
|
|
|
className={(this.props.showInfos ? "small" : "big") + " " + this.props.className}
|
|
|
|
|
style={this.props.style ?? {}}
|
|
|
|
|
onMouseDown={(e) => this.handleMouseDown(e, {})}
|
|
|
|
|
>
|
|
|
|
|