Adopt semantic campaign page actions
This commit is contained in:
@@ -26,7 +26,7 @@ import {
|
||||
type DataGridListOption,
|
||||
type DataGridQueryState
|
||||
} from "@govoplan/core-webui";
|
||||
import { DismissibleAlert, PageLayout } from "@govoplan/core-webui";
|
||||
import { DismissibleAlert, PageActionBar, PageLayout } from "@govoplan/core-webui";
|
||||
import { LoadingFrame } from "@govoplan/core-webui";
|
||||
import { MetricCard } from "@govoplan/core-webui";
|
||||
import {
|
||||
@@ -757,6 +757,7 @@ export default function OperatorQueuePage({ settings, auth }: {settings: ApiSett
|
||||
|
||||
return (
|
||||
<PageLayout
|
||||
archetype="collection"
|
||||
mode="workspace"
|
||||
title="i18n:govoplan-campaign.operator_queue.72492fb5"
|
||||
description={
|
||||
@@ -767,9 +768,11 @@ export default function OperatorQueuePage({ settings, auth }: {settings: ApiSett
|
||||
}
|
||||
error={error}
|
||||
success={message}
|
||||
actions={
|
||||
<Button onClick={() => void refreshAll()} disabled={loading || jobsLoading}>i18n:govoplan-campaign.refresh.56e3badc</Button>
|
||||
}
|
||||
actions={<PageActionBar
|
||||
variant="collection"
|
||||
refreshable
|
||||
reloadAction={<Button onClick={() => void refreshAll()} disabled={loading || jobsLoading}>i18n:govoplan-campaign.refresh.56e3badc</Button>}
|
||||
/>}
|
||||
notices={jobsError ? <DismissibleAlert tone="danger" resetKey={jobsError} floating>{jobsError}</DismissibleAlert> : undefined}
|
||||
>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user