From 20460ec40582cda8f5dd9add0e36de92c0ff6039 Mon Sep 17 00:00:00 2001 From: Nikola Stojanovic <68916411+dzonidoo@users.noreply.github.com> Date: Thu, 19 Dec 2024 11:51:16 +0100 Subject: [PATCH] "Send to" tab in the publish widget: Do not show embargo field per default (#4699) --- .../interactive-article-actions-panel/actions/send-to-tab.tsx | 2 +- scripts/core/superdesk-api.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/core/interactive-article-actions-panel/actions/send-to-tab.tsx b/scripts/core/interactive-article-actions-panel/actions/send-to-tab.tsx index a0304d9477..1a288bdfdf 100644 --- a/scripts/core/interactive-article-actions-panel/actions/send-to-tab.tsx +++ b/scripts/core/interactive-article-actions-panel/actions/send-to-tab.tsx @@ -146,7 +146,7 @@ export class SendToTab extends React.PureComponent { onChange={(val) => { this.setState({publishingDateOptions: val}); }} - allowSettingEmbargo={appConfig.ui.sendEmbargo !== false} + allowSettingEmbargo={appConfig.ui.sendEmbargo} allowSettingPublishSchedule={appConfig.authoring.panels.sendTo.publishSchedule} /> ) diff --git a/scripts/core/superdesk-api.d.ts b/scripts/core/superdesk-api.d.ts index 67ba901fc3..3baec188f7 100644 --- a/scripts/core/superdesk-api.d.ts +++ b/scripts/core/superdesk-api.d.ts @@ -3444,7 +3444,7 @@ declare module 'superdesk-api' { sendPublishSchedule?: boolean; /** - * Can set embargo in "send to" pane. Defaults to true; + * Can set embargo in "send to" pane. Defaults to false; */ sendEmbargo?: boolean;