Skip to content

Commit

Permalink
Fix: Error when clicking on associated event settings in planning pro…
Browse files Browse the repository at this point in the history
…file [SDESK-7054] (superdesk#1852)
  • Loading branch information
devketanpro authored Sep 25, 2023
1 parent 069e6e2 commit 1405775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/ContentProfiles/FieldTab/FieldEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class FieldEditor extends React.Component<IProps, IState> {
'schema.default_language': {enabled: (this.props.item.name === 'language' && isMultilingual)},
'schema.multilingual': {enabled: (
this.props.item.name === 'language' || (
this.props.item.schema.type === 'string' &&
this.props.item.schema?.type === 'string' &&
isMultilingual &&
!['language', 'location'].includes(this.props.item.name)
)
Expand Down

0 comments on commit 1405775

Please sign in to comment.