Further refactoring based on feedback

Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
This commit is contained in:
Andre Wanlin
2021-10-08 08:20:49 -05:00
parent 9cc89f7530
commit a9d460dd1c
8 changed files with 19 additions and 16 deletions
+3 -3
View File
@@ -81,12 +81,12 @@ To get the frontend working you'll need to do the following two steps:
yarn add @backstage/plugin-azure-devops
```
2. Second we need to add the `EntityAzureDevOpsContent` extension to the entity page in your app:
2. Second we need to add the `EntityAzurePipelinesContent` extension to the entity page in your app:
```tsx
// In packages/app/src/components/catalog/EntityPage.tsx
import {
EntityAzureDevOpsContent,
EntityAzurePipelinesContent,
isAzureDevOpsAvailable,
} from '@backstage/plugin-azure-devops';
@@ -95,7 +95,7 @@ const cicdContent = (
<EntitySwitch>
// ...
<EntitySwitch.Case if={isAzureDevOpsAvailable}>
<EntityAzureDevOpsContent />
<EntityAzurePipelinesContent />
</EntitySwitch.Case>
// ...
</EntitySwitch>