Release govoplan-campaign v0.1.28: stabilize saving, review and delivery recovery
Module Package Release / publish-packages (push) Successful in 12s
Module Package Release / publish-packages (push) Successful in 12s
This commit is contained in:
@@ -17,6 +17,7 @@ export default function AttachmentLinkingPreview({
|
||||
error,
|
||||
linking,
|
||||
disabled,
|
||||
disabledReason,
|
||||
onRefresh,
|
||||
onLink
|
||||
}: {
|
||||
@@ -25,6 +26,7 @@ export default function AttachmentLinkingPreview({
|
||||
error: string;
|
||||
linking: boolean;
|
||||
disabled: boolean;
|
||||
disabledReason?: string;
|
||||
onRefresh: () => void;
|
||||
onLink: () => void;
|
||||
}) {
|
||||
@@ -57,6 +59,7 @@ export default function AttachmentLinkingPreview({
|
||||
variant="primary"
|
||||
onClick={onLink}
|
||||
disabled={disabled || loading || linking || unlinkedCount === 0}
|
||||
title={loading ? "i18n:govoplan-campaign.attachment_link_loading_reason" : disabledReason || (unlinkedCount === 0 ? "i18n:govoplan-campaign.attachment_link_all_done" : undefined)}
|
||||
>
|
||||
{linking
|
||||
? "i18n:govoplan-campaign.linking.a5f54e0f"
|
||||
@@ -69,6 +72,7 @@ export default function AttachmentLinkingPreview({
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
<p className="muted small-note">{disabledReason || "i18n:govoplan-campaign.attachment_link_before_lock"}</p>
|
||||
<MetricGrid columns={4} density="compact" spacing="block" minimum="compact">
|
||||
<MetricCard density="compact" surface="subtle"
|
||||
label="i18n:govoplan-campaign.matched.1bf3ec5b"
|
||||
|
||||
Reference in New Issue
Block a user