Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@red-hat-developer-hub/backstage-plugin-orchestrator': patch
---

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
Expand Up @@ -23,8 +23,6 @@ import {
} from '@backstage/core-components';
import { useApi } from '@backstage/core-plugin-api';

import Grid from '@mui/material/Grid';

import { WorkflowOverviewDTO } from '@red-hat-developer-hub/backstage-plugin-orchestrator-common';

import { orchestratorApiRef } from '../../api';
Expand Down Expand Up @@ -65,13 +63,7 @@ export const WorkflowsTabContent = ({
<Content noPadding>
{loading ? <Progress /> : null}
{error ? <ResponseErrorPanel error={error} /> : null}
{isReady ? (
<Grid container direction="column">
<Grid item xs={12}>
<WorkflowsTable items={value ?? []} />
</Grid>
</Grid>
) : null}
{isReady ? <WorkflowsTable items={value ?? []} /> : null}
</Content>
);
};
Loading