Skip to content

Commit

Permalink
Fixing locale auto complete
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Jun 1, 2023
1 parent f9d9e98 commit 6ae1222
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/common/utils.js
Expand Up @@ -873,10 +873,9 @@ export const getSiblings = elem => {
};

export const sortValuesBySourceSummary = (data, summary, summaryField, isLocale) => {
let values = compact(data)
if(isEmpty(values) || !summary)
if(isEmpty(compact(data)) || !summary)
return data
let _data = values.map(d => {
let _data = compact(data).map(d => {
d.resultType = 'Ordered'
return d
})
Expand Down

0 comments on commit 6ae1222

Please sign in to comment.