Skip to content

Commit

Permalink
"Send to" tab in the publish widget: Do not show embargo field per de…
Browse files Browse the repository at this point in the history
…fault (#4699)
  • Loading branch information
dzonidoo authored Dec 19, 2024
1 parent 53b5136 commit 20460ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export class SendToTab extends React.PureComponent<IProps, IState> {
onChange={(val) => {
this.setState({publishingDateOptions: val});
}}
allowSettingEmbargo={appConfig.ui.sendEmbargo !== false}
allowSettingEmbargo={appConfig.ui.sendEmbargo}
allowSettingPublishSchedule={appConfig.authoring.panels.sendTo.publishSchedule}
/>
)
Expand Down
2 changes: 1 addition & 1 deletion scripts/core/superdesk-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 20460ec

Please sign in to comment.