Skip to content

Commit

Permalink
fix: fixed condition to select without vocabulary (#4200)
Browse files Browse the repository at this point in the history
Co-authored-by: Piero Nicolli <pnicolli@users.noreply.github.com>
  • Loading branch information
SaraBianchi and pnicolli authored Jan 4, 2023
1 parent 4fab74b commit 4861d63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/4200.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed condition to select without vocabulary @SaraBianchi
3 changes: 2 additions & 1 deletion src/components/manage/Widgets/ArrayWidget.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ class ArrayWidget extends Component {
!this.props.items?.choices?.length &&
!this.props.choices?.length &&
this.props.vocabLoading === undefined &&
!this.props.vocabLoaded
!this.props.vocabLoaded &&
this.props.vocabBaseUrl
) {
this.props.getVocabulary({
vocabNameOrURL: this.props.vocabBaseUrl,
Expand Down

0 comments on commit 4861d63

Please sign in to comment.