Line

You are reading the unreleased docs (next). See latest (v0.9)

ui/client/features/pages-editor/hooks/useOpenPageRequests

Cockpit client (features), next. Source: ui/client/features/pages-editor/hooks/useOpenPageRequests.tsx.

Functions#

useOpenPageRequests()#

useOpenPageRequests(dispatch): void

Defined in: ui/client/features/pages-editor/hooks/useOpenPageRequests.tsx:10

Opens a page named by the URL (?feature=&file=) or requested from elsewhere (a Diagnostics row): the same steps as picking it by hand.

Parameters#

dispatch

Dispatch<PagesEditorAction>

Returns#

void