fixed createComponentExtension , renamed EntityNewRelicDashboardsCard , EntityNewRelicDashboardsContent

Signed-off-by: mufaddal motiwala <mufaddalmm.52@gmail.com>
This commit is contained in:
mufaddal motiwala
2021-12-20 16:58:17 +05:30
parent 2da5bb9484
commit 61008c8136
4 changed files with 25 additions and 24 deletions
@@ -126,8 +126,8 @@ import {
} from '@roadiehq/backstage-plugin-travis-ci';
import {
isNewRelicDashboardAvailable,
EntityNewRelicDashboard,
EntityPageNewRelicDashboard,
EntityNewRelicDashboardContent,
EntityNewRelicDashboardCard,
} from '@backstage/plugin-newrelic-dashboard';
import React, { ReactNode, useMemo, useState } from 'react';
@@ -300,7 +300,7 @@ const overviewContent = (
<EntitySwitch>
<EntitySwitch.Case if={isNewRelicDashboardAvailable}>
<Grid item md={6} xs={12}>
<EntityPageNewRelicDashboard />
<EntityNewRelicDashboardCard />
</Grid>
</EntitySwitch.Case>
</EntitySwitch>
@@ -390,7 +390,7 @@ const serviceEntityPage = (
path="/newrelic-dashboard"
title="New Relic Dashboard"
>
<EntityNewRelicDashboard />
<EntityNewRelicDashboardContent />
</EntityLayout.Route>
<EntityLayout.Route path="/kubernetes" title="Kubernetes">
@@ -456,7 +456,7 @@ const websiteEntityPage = (
path="/newrelic-dashboard"
title="New Relic Dashboard"
>
<EntityNewRelicDashboard />
<EntityNewRelicDashboardContent />
</EntityLayout.Route>
<EntityLayout.Route path="/kubernetes" title="Kubernetes">