Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
satrox28 committed Feb 11, 2022
1 parent 34b5b33 commit de140df
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ import { isGitlabAvailable, EntityGitlabContent } from '@loblaw/backstage-plugin

// Farther down at the serviceEntityPage declaration
const serviceEntityPage = (
<EntityLayout>
<EntityLayout>
{/* Place the following section where you want the tab to appear */}
<EntityLayout.Route if={isGitlabAvailable} path="/gitlab" title="Gitlab">
<EntityGitlabContent />
</EntityLayout.Route>
</EntityLayout>
);
</EntityLayout>
);
```
3. Add the Gitlab cards to the Overview tab on the entity page(Optional).

Expand All @@ -69,8 +69,8 @@ import {
} from '@loblaw/backstage-plugin-gitlab';

//Farther down at the overviewContent declaration
//Depends on user's need the individual card can be added or removed from the Grid item.
const overviewContent = (
//You can add only selected widgets or all of them.
const overviewContent = (
<Grid container spacing={3} alignItems="stretch">
<EntitySwitch>
<EntitySwitch.Case if={isGitlabAvailable}>
Expand Down

0 comments on commit de140df

Please sign in to comment.