Line

You are reading docs for v0.8. See latest (v0.9)

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

Cockpit client (features), v0.8. Source: ui/client/features/pages-editor/hooks/useAllPages.tsx.

Functions#

useAllPages()#

useAllPages(): object

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

Every page of the project, for the Pages screen's Browser list. reload is the error state's one next action.

Returns#

object

error

error: string

pages

pages: object[]

reload

reload: () => void = load

Returns

void

status

status: "loading" | "error" | "ready"