Skip to content

Commit

Permalink
Update 40select.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasrw authored Aug 18, 2023
1 parent 1ad1a21 commit 4feca50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/40select.js
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,8 @@ function modify(query, res) {
columns = [];
if (query && query.sources) {
query.sources.forEach((source) => {
if(source?.columns?.columnid)
columns = columns.concat((({columnid}) => ({columnid}))(source.columns));
if(source?.columns?.columnid != null)
columns = columns.concat({columnid:source?.columns?.columnid});
})
}
}
Expand Down

0 comments on commit 4feca50

Please sign in to comment.