Commit b9fd4dba by Torkel Ödegaard Committed by GitHub

Expressions: Fix button icon (#30444)

parent f2464d56
...@@ -316,14 +316,15 @@ export class QueryGroup extends PureComponent<Props, State> { ...@@ -316,14 +316,15 @@ export class QueryGroup extends PureComponent<Props, State> {
)} )}
{isAddingMixed && this.renderMixedPicker()} {isAddingMixed && this.renderMixedPicker()}
{this.isExpressionsSupported(dsSettings) && ( {this.isExpressionsSupported(dsSettings) && (
<Tooltip content="Experimental feature, queries might break in next version"> <Tooltip content="Experimental feature: queries could stop working in next version" placement="right">
<Button <Button
icon="plus" icon="plus"
onClick={this.onAddExpressionClick} onClick={this.onAddExpressionClick}
variant="secondary" variant="secondary"
className={styles.expressionButton} className={styles.expressionButton}
> >
Expression <Icon name="exclamation-triangle" className="muted" size="sm" /> <span>Expression&nbsp;</span>
<Icon name="exclamation-triangle" className="muted" size="sm" />
</Button> </Button>
</Tooltip> </Tooltip>
)} )}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment