Skip to content

Commit

Permalink
Merge pull request #1518 from redpanda-data/chore/debug-bundle-design…
Browse files Browse the repository at this point in the history
…-improvements

Design improvements for debug bundle:
  • Loading branch information
jvorcak authored Nov 14, 2024
2 parents 3463612 + 95474d6 commit 7164076
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/pages/admin/Admin.DebugBundle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ export class AdminDebugBundle extends Component<{}> {
if (api.isDebugBundleInProgress) {
return <Box>
<Header />
<Button px={0} as={ReactRouterLink} variant="link" to={`/admin/debug-bundle/progress/${api.debugBundleStatus?.jobId}`}>Bundle generation in progress...</Button>
<Button px={0} mt={4} as={ReactRouterLink} variant="link" to={`/admin/debug-bundle/progress/${api.debugBundleStatus?.jobId}`}>Bundle generation in progress...</Button>
<Text>Started {api.debugBundleStatus?.createdAt?.toDate().toLocaleString()}</Text>
</Box>;
}

return (
<Box>
<Header />
<Text mt={4} fontWeight="bold">Latest debug bundle:</Text>
{api.canDownloadDebugBundle && <Text mt={4} fontWeight="bold">Latest debug bundle:</Text>}
<DebugBundleLink statuses={api.debugBundleStatuses} showDeleteButton />
{api.debugBundleStatuses.length === 0 && <Text>No debug bundle available for download.</Text>}

Expand Down

0 comments on commit 7164076

Please sign in to comment.