Skip to content

Commit

Permalink
fix auto tagging extension compile
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek committed Sep 21, 2023
1 parent 0839596 commit 0b07331
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/extensions/auto-tagging-widget/src/auto-tagging.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ export function getAutoTaggingComponent(superdesk: ISuperdesk, label: string) {
this.runAnalysis();
}
}}
label={{text: gettext('Run automatically')}}
label={{content: gettext('Run automatically')}}
/>
<Switch
value={showImagesPreference}
Expand All @@ -490,7 +490,7 @@ export function getAutoTaggingComponent(superdesk: ISuperdesk, label: string) {
this.setState({showImagesPreference: newValue});
superdesk.preferences.set(SHOW_IMAGES_PREFERENCE, newValue);
}}
label={{text: gettext('Show image suggestions')}}
label={{content: gettext('Show image suggestions')}}
/>
</ButtonGroup>
</div>
Expand Down

0 comments on commit 0b07331

Please sign in to comment.