ui/client/features/processes/components/ApprovalsList
Cockpit client (features), next. Source: ui/client/features/processes/components/ApprovalsList.tsx.
Functions#
ApprovalsList()#
ApprovalsList(
__namedParameters):Element
Defined in: ui/client/features/processes/components/ApprovalsList.tsx:19
Every process with a file waiting on a human decision, across the whole project, not just the one selected in the Processes tab: the point of a bottom panel identical on every screen is that an approval is never hidden behind a screen you did not happen to choose.
Props#
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
rows |
ApprovalRow[] |
Yes | — | |
expandedId |
`string | null` | Yes | — |
review |
`ReviewView | null` | Yes | — |
reviewLoading |
boolean |
Yes | — | |
reviewError |
`string | null` | Yes | — |
onReviewDiff |
(id: string) => void |
Yes | — | |
onDismiss |
() => void |
Yes | — | |
onDecide |
`(id: string, path: string, verdict: 'approve' | 'reject', diffSha256: string | null) => void` | Yes |
Returns#
Element