@@ -19,8 +19,8 @@ export class VizRepeater extends PureComponent<Props> {
render() {
const { children, orientation, height, timeSeries, width } = this.props;
- const vizContainerWidth = 1 / timeSeries.length * 100;
- const vizContainerHeight = 1 / timeSeries.length * 100;
+ const vizContainerWidth = (1 / timeSeries.length) * 100;
+ const vizContainerHeight = (1 / timeSeries.length) * 100;
const repeatingVizWidth = Math.floor(width / timeSeries.length) - 10; // make Gauge slightly smaller than panel.
const repeatingVizHeight = Math.floor(height / timeSeries.length) - 10;
@@ -28,7 +28,7 @@ class PanelPluginNotFound extends PureComponent<Props> {
return (
<div style={style}>
- <AlertBox severity={AppNotificationSeverity.Error} title={`Panel plugin not found: ${this.props.pluginId})`} />
+ <AlertBox severity={AppNotificationSeverity.Error} title={`Panel plugin not found: ${this.props.pluginId}`} />
</div>
);
}