Update to use icon package

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
This commit is contained in:
Juho Heikka committed 2023-06-01 17:08:01 +03:00
1 parent ebbd6ab40b
commit 829a312145
1 file changed
+2 -2
@@ -32,7 +32,7 @@ type ProviderValue = typeof autoDetectPrometheus | string;
interface Dependencies { interface Dependencies {
productName: string; productName: string;
requestMetricsProviders: RequestMetricsProviders; requestMetricsProviders: RequestMetricsProviders;
requestPrometheusDetails: (cluster: Cluster) => Promise<PrometheusDetailsData>; requestPrometheusDetails: (clusterId: string) => Promise<PrometheusDetailsData>;
} }
interface PrometheusDetailsDataResult { interface PrometheusDetailsDataResult {
@@ -133,7 +133,7 @@ class NonInjectedClusterPrometheusSetting extends React.Component<ClusterPrometh
loadPrometheusDetails = async () => { loadPrometheusDetails = async () => {
try { try {
const details = await this.props.requestPrometheusDetails(this.props.cluster); const details = await this.props.requestPrometheusDetails(this.props.cluster.id);
this.prometheusDetails = { this.prometheusDetails = {
type: "success", type: "success",