refactor(webui): adopt semantic workspace actions
This commit is contained in:
@@ -195,7 +195,7 @@ export default function DocsPage({ settings }: { settings: ApiSettings }) {
|
|||||||
archetype="workspace"
|
archetype="workspace"
|
||||||
title="i18n:govoplan-docs.help_center.f3f3a34b"
|
title="i18n:govoplan-docs.help_center.f3f3a34b"
|
||||||
description={adminDocs ? "i18n:govoplan-docs.technical_documentation_for_the_modules_and_conf.267e739e" : "i18n:govoplan-docs.guidance_for_the_functions_available_in_this_ins.723b7cad"}
|
description={adminDocs ? "i18n:govoplan-docs.technical_documentation_for_the_modules_and_conf.267e739e" : "i18n:govoplan-docs.guidance_for_the_functions_available_in_this_ins.723b7cad"}
|
||||||
actions={<PageActionBar variant="workspace" refreshable reloadAction={<Button onClick={() => void load()} disabled={loading}><RefreshCw size={16} /> i18n:govoplan-docs.reload.cce71553</Button>} />}
|
actions={<PageActionBar variant="workspace" refreshable reloadAction={{ onReload: () => void load(), loading }} />}
|
||||||
loading={loading}
|
loading={loading}
|
||||||
loadingLabel="i18n:govoplan-docs.loading_documentation_context.1c091645"
|
loadingLabel="i18n:govoplan-docs.loading_documentation_context.1c091645"
|
||||||
error={error}
|
error={error}
|
||||||
|
|||||||
Reference in New Issue
Block a user