Skip to content

Commit

Permalink
Fix field fetch not being waited for
Browse files Browse the repository at this point in the history
Signed-off-by: Eugene Lee <[email protected]>
  • Loading branch information
eugenesk24 committed Mar 10, 2022
1 parent ac777ec commit c01e1d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ export const getSuggestionsAfterSource = async (

if (isEmpty(currQuery) || isEmpty(currIndices)) {
currIndices = parseForIndices(base);
getFields(dslService);
await getFields(dslService);
currField = '';
currFieldType = '';
return fillSuggestions(currQuery, lastWord, possibleCommands);
Expand Down

0 comments on commit c01e1d8

Please sign in to comment.