Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Send to" tab in the publish widget: Do not show embargo field per default #4699

Merged
merged 4 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading