File tree Expand file tree Collapse file tree
plugins/orchestrator/src/components/OrchestratorPage Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' @red-hat-developer-hub/backstage-plugin-orchestrator ' : patch
3+ ---
4+
5+ Simplify workflows tab layout by rendering ` WorkflowsTable ` directly inside ` Content ` instead of an extra MUI ` Grid ` wrapper.
Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ import {
2323} from '@backstage/core-components' ;
2424import { useApi } from '@backstage/core-plugin-api' ;
2525
26- import Grid from '@mui/material/Grid' ;
27-
2826import { WorkflowOverviewDTO } from '@red-hat-developer-hub/backstage-plugin-orchestrator-common' ;
2927
3028import { orchestratorApiRef } from '../../api' ;
@@ -65,13 +63,7 @@ export const WorkflowsTabContent = ({
6563 < Content noPadding >
6664 { loading ? < Progress /> : null }
6765 { error ? < ResponseErrorPanel error = { error } /> : null }
68- { isReady ? (
69- < Grid container direction = "column" >
70- < Grid item xs = { 12 } >
71- < WorkflowsTable items = { value ?? [ ] } />
72- </ Grid >
73- </ Grid >
74- ) : null }
66+ { isReady ? < WorkflowsTable items = { value ?? [ ] } /> : null }
7567 </ Content >
7668 ) ;
7769} ;
You can’t perform that action at this time.
0 commit comments