Skip to content

Commit

Permalink
fix aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
patrykkopycinski committed Oct 26, 2021
1 parent 0eea20f commit bcc49db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ export const ECSMappingEditorField = ({
LIMIT 5;
*/

if (selectItem.type === 'FunctionCall' && selectItem.hasAs) {
if (selectItem.hasAs && selectItem.alias) {
return [
{
label: selectItem.alias,
Expand Down

0 comments on commit bcc49db

Please sign in to comment.