Skip to content

Commit dc5c39c

Browse files
committed
fix for the jump_to not working when ontology specifies a single language
1 parent 23d338f commit dc5c39c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/javascript/controllers/ontoportal_autocomplete_controller.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export default class extends Controller {
7979
}
8080

8181
#isMultiple(arr) {
82-
return Array.isArray(arr) && arr.length > 0;
82+
return Array.isArray(arr) && arr.length > 1;
8383
}
8484

8585
}

0 commit comments

Comments
 (0)