Skip to content

Commit

Permalink
Update superdesk UI framework to 3.0.14 (#1780)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaskikutis authored Apr 13, 2023
1 parent ca4daac commit 46cd317
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions client/components/ContentProfiles/GroupTab/GroupEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export class GroupEditor extends React.PureComponent<IProps> {
<div className="form__group">
<div className="form__row">
<Switch
label={{text: gettext('Use Togglebox')}}
label={{content: gettext('Use Togglebox')}}
value={this.props.group.useToggleBox}

onChange={this.props.updateGroupAttribute.bind(null, 'useToggleBox')}
Expand All @@ -118,7 +118,7 @@ export class GroupEditor extends React.PureComponent<IProps> {
<div className="form__group">
<div className="form__row">
<Switch
label={{text: gettext('Show Bookmark')}}
label={{content: gettext('Show Bookmark')}}
value={this.props.group.showBookmark}

onChange={this.props.updateGroupAttribute.bind(null, 'showBookmark')}
Expand Down
2 changes: 1 addition & 1 deletion client/components/fields/editor/EventSchedule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ export class EditorFieldEventSchedule extends React.PureComponent<IProps> {
{!this.props.showAllDay ? null : (
<div data-test-id={`${this.props.testId}_all_day`}>
<Switch
label={{text: gettext('All Day')}}
label={{content: gettext('All Day')}}
value={isAllDay}
onChange={this.onAllDayChange}
/>
Expand Down
2 changes: 1 addition & 1 deletion client/components/fields/editor/Language.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class EditorFieldLanguageComponent extends React.PureComponent<IProps> {
>
<ButtonGroup>
<Switch
label={{text: gettext('Show all language fields')}}
label={{content: gettext('Show all language fields')}}
value={this.props.showAllLanguages}
onChange={() => this.props.toggleAllLanguages()}
disabled={this.props.disabled}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export class EditorFieldSelectWithFreeText extends React.Component<IProps, IStat
<label className="sd-input__label">{gettext('Other')}</label>
<div className="sd-input__icon-right">
<Switch
label={{text: gettext('Other'), hidden: true}}
label={{content: gettext('Other'), hidden: true}}
value={this.state.enterFreeText}
onChange={this.toggleFreeText}
disabled={this.props.disabled}
Expand Down
2 changes: 1 addition & 1 deletion client/components/fields/editor/base/toggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class EditorFieldToggle extends React.PureComponent<IEditorFieldProps> {
<Row testId={this.props.testId}>
<Switch
ref={this.props.refNode}
label={{text: this.props.label}}
label={{content: this.props.label}}
value={value}
onChange={(newValue) => this.props.onChange(this.props.field, newValue)}
disabled={this.props.disabled}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class AutopostIngestRuleEditor extends React.PureComponent<IProps> {
return (
<div>
<Switch
label={{text: gettext('Post Items')}}
label={{content: gettext('Post Items')}}
value={this.props.rule.actions.extra?.autopost === true}
onChange={this.updateAutopostValue}
/>
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"redux-logger": "~3.0.6",
"reselect": "~3.0.1",
"rrule": "~2.2.9",
"superdesk-ui-framework": "3.0.0-rc12",
"superdesk-ui-framework": "3.0.14",
"ts-loader": "3.5.0",
"typescript": "~4.9.5",
"whatwg-fetch": "~2.0.4"
Expand Down

0 comments on commit 46cd317

Please sign in to comment.