Skip to content

Commit

Permalink
Fixed bug with values
Browse files Browse the repository at this point in the history
  • Loading branch information
tfrancart committed Apr 23, 2024
1 parent 1038c6d commit ed49514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparnatural/components/widgets/ListWidget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export class ListWidget extends AbstractWidget {
this.toggleSpinner(I18n.labels.AutocompleteSpinner_Searching);

// if there are some provided values...
if(this.configuration.values) {
if(this.configuration.values?.length > 0) {
// never sort to keep the original list order
this.sort = false;
// convert the provided list of terms to RDFTerm[]
Expand Down

0 comments on commit ed49514

Please sign in to comment.