diff --git a/ui/src/ifql/containers/IFQLPage.tsx b/ui/src/ifql/containers/IFQLPage.tsx index 0df31bcb74..fef4d6bf25 100644 --- a/ui/src/ifql/containers/IFQLPage.tsx +++ b/ui/src/ifql/containers/IFQLPage.tsx @@ -380,6 +380,11 @@ export class IFQLPage extends PureComponent { try { const ast = await getAST({url: links.ast, body: script}) + const suggs = this.state.suggestions + suggs[17] = { + name: 'join', + params: {tables: 'array', on: 'string', fn: 'function'}, + } const body = bodyNodes(ast, this.state.suggestions) const status = {type: 'success', text: ''} this.setState({ast, script, body, status})