ui/client/features/pages-editor/services/ProjectKey
Cockpit client (features), v0.9. Source: ui/client/features/pages-editor/services/ProjectKey.ts.
Functions#
fetchPreviewProjectKey()#
fetchPreviewProjectKey():
Promise<string|null>
Defined in: ui/client/features/pages-editor/services/ProjectKey.ts:7
The open project's directory, used by this feature only as the key its preview choices are remembered under (never shown, never sent anywhere else). Null when no project is open or the server cannot be reached — the choices then fall back to a shared default rather than failing.
Returns#
Promise<string | null>