Skip to content

Commit 69ca919

Browse files
fix(orchestrator): simplify workflows tab layout and add changeset (#2772)
Remove redundant MUI Grid wrapper around WorkflowsTable in WorkflowsTabContent. Made-with: Cursor
1 parent 118575b commit 69ca919

2 files changed

Lines changed: 6 additions & 9 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
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.

workspaces/orchestrator/plugins/orchestrator/src/components/OrchestratorPage/WorkflowsTabContent.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ import {
2323
} from '@backstage/core-components';
2424
import { useApi } from '@backstage/core-plugin-api';
2525

26-
import Grid from '@mui/material/Grid';
27-
2826
import { WorkflowOverviewDTO } from '@red-hat-developer-hub/backstage-plugin-orchestrator-common';
2927

3028
import { 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
};

0 commit comments

Comments
 (0)