Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
{/* Disks don't have historic data */}
)
}
DiskCharts.propTypes = {
{ history.length === 0 && }
{ history.length > 0 &&
}
}
Published: patternfly.pfPaletteColors.blue400,
Stopped: patternfly.pfPaletteColors.black300
},
columns: [
["Running", this.props.runningIntegrations],
["Stopped", this.props.stoppedIntegrations],
["Pending", this.props.pendingIntegrations]
],
type: "donut"
};
return (React.createElement(Card, null,
React.createElement(Card.Heading, null,
React.createElement(Card.Title, null, "Integration Board")),
React.createElement(Card.Body, null,
React.createElement(DonutChart, { id: "integration-board", size: { height: 120 }, data: data, tooltip: {
contents: patternfly.pfDonutTooltipContents,
show: true
}, title: { type: "total", secondary: "Integrations" }, legend: { show: true, position: "right" } }))));
}
}
{ history.length === 0 && }
{ history.length > 0 &&
}
}
],
type: 'donut',
};
return (
{this.props.i18nTitle}
);
}
}