refactor api to use token from proxy

This commit is contained in:
Samira Mokaram
2020-11-16 16:34:49 +01:00
parent 00a2ead383
commit 6fc060842e
7 changed files with 91 additions and 44 deletions
@@ -68,7 +68,7 @@ import {
} from '@roadiehq/backstage-plugin-github-pull-requests';
import {
isPluginApplicableToEntity as isPagerDutyAvailable,
PagerDutyServiceCard,
PagerDutyCard,
} from '@backstage/plugin-pagerduty';
const CICDSwitcher = ({ entity }: { entity: Entity }) => {
@@ -137,7 +137,7 @@ const OverviewContent = ({ entity }: { entity: Entity }) => (
</Grid>
{isPagerDutyAvailable(entity) && (
<Grid item md={6}>
<PagerDutyServiceCard entity={entity} />
<PagerDutyCard entity={entity} />
</Grid>
)}
<RecentCICDRunsSwitcher entity={entity} />