Skip to content

Commit

Permalink
fix: precendence for multiselect items fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
harshpatel-crest committed May 7, 2021
1 parent b79a6f5 commit 02339bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/main/webapp/components/MultiInputComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function MultiInputComponent(props) {
const [options, setOptions] = useState(null);

useEffect(() => {
if (items) {
if (!endpointUrl && items) {
setOptions(generateOptions(items));
return;
}
Expand Down

0 comments on commit 02339bf

Please sign in to comment.