ui/client/features/processes/controllers/ApprovalsController
Cockpit client (features), next. Source: ui/client/features/processes/controllers/ApprovalsController.tsx.
Functions#
ApprovalsController()#
ApprovalsController(
__namedParameters):Element
Defined in: ui/client/features/processes/controllers/ApprovalsController.tsx:16
The Approvals tab: every process with files waiting on a human, wherever you are in the shell, not only the one currently selected in the Processes tab. Reuses the same review state and loadReview/decide flow the Processes tab already drives, keyed by whichever row's "Review diff" was clicked here instead of by the shared selection.
Props#
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
api |
ReturnType<typeof useProcesses> |
Yes | — |
Returns#
Element