Skip to content

Commit

Permalink
[Fix #236] Fixed sort function
Browse files Browse the repository at this point in the history
  • Loading branch information
LaChope committed Nov 16, 2023
1 parent 7528248 commit 608cdb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/answer/TypeaheadAnswer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { IntelligentTreeSelect } from "intelligent-tree-select/lib/components/In
import "intelligent-tree-select/lib/styles.css";

const processTypeaheadOptions = (options, intl) => {
if (!options) {
if (!options || !options.length) {
return [];
}

Expand Down

0 comments on commit 608cdb9

Please sign in to comment.