ui/client/features/processes/components/GcNotice
Cockpit client (features), next. Source: ui/client/features/processes/components/GcNotice.tsx.
Functions#
GcNotice()#
GcNotice(
__namedParameters):Element|null
Defined in: ui/client/features/processes/components/GcNotice.tsx:6
-- "N item(s) can be cleaned up" with a Details link, above the process list. Presentation-only: every
value and handler comes from the controller (gcCleanupCount/gcDetailLines, domain/GcCounts.ts). Nothing
here deletes anything -- run construct process gc (without --dry-run) for that.
Props#
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
count |
number |
Yes | — | |
details |
`GcDetailLine[] | null` | Yes | — |
onToggle |
() => void |
Yes | — |
Returns#
Element | null