Skip to content

Commit

Permalink
Add a restart run button (#981)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino authored May 25, 2024
1 parent fb53605 commit 76f9dc0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions assets/src/components/stacks/run/Sidecar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import {
import { ResponsiveLayoutSidecarContainer } from '../../utils/layout/ResponsiveLayoutSidecarContainer'
import UserInfo from '../../utils/UserInfo'
import { ClusterProviderIcon } from '../../utils/Provider'
import { StackRunStatusChip } from '../StackRunStatusChip'

interface StackRunSidecarProps {
stackRun: StackRun
Expand Down Expand Up @@ -86,6 +87,12 @@ export default function StackRunSidecar({
</Button>
)}
<Sidecar>
<SidecarItem heading="Status">
<StackRunStatusChip
status={stackRun.status}
size="small"
/>
</SidecarItem>
<SidecarItem heading="Needs approval">
{stackRun.approval ? 'Required' : 'Not required'}
</SidecarItem>
Expand Down
7 changes: 6 additions & 1 deletion assets/src/components/stacks/run/Sidenav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,12 @@ function StackRunSidenavHeader({
}}
>
<AppIcon
icon={<StackTypeIcon stackType={stackRun.type} size={36} />}
icon={
<StackTypeIcon
stackType={stackRun.type}
size={36}
/>
}
size="small"
/>
<StackedText
Expand Down

0 comments on commit 76f9dc0

Please sign in to comment.