[SQL Lab] Remove space after schema autocomplete (#9059)

This commit is contained in:
Erik Ritter 2020-01-31 08:45:00 -08:00 committed by GitHub
parent 2629c779af
commit 47eecb84f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -149,7 +149,9 @@ class AceEditorWrapper extends React.PureComponent {
);
}
editor.completer.insertMatch({
value: `${data.caption}${data.meta === 'function' ? '' : ' '}`,
value: `${data.caption}${
['function', 'schema'].includes(data.meta) ? '' : ' '
}`,
});
},
};