});
return _.extend(file, { measures });
});
- this.setState({ loading: false, files: this.limitFiles(files) });
+ this.setState({
+ loading: false,
+ files: this.limitFiles(files),
+ total: files.length
+ });
});
}
<div className="note text-right" style={{ position: 'relative', top: '-10px', left: '-10px' }}>
X: {this.state.xMetric.name}
</div>
+ {this.state.total > BUBBLES_LIMIT &&
+ <div className="note text-center">{window.tp('overview.chart.files.limit_message', BUBBLES_LIMIT)}</div>}
</div>
</div>;
}