refactor aggregation picker

This commit is contained in:
Erik Sundell
2018-12-19 16:08:18 +01:00
parent 9b1b4c09f5
commit 603ef1c37d
2 changed files with 22 additions and 15 deletions

View File

@ -138,7 +138,9 @@ export class QueryEditor extends React.Component<Props, State> {
templateSrv={templateSrv}
aggregation={aggregation}
onChange={value => this.handleAggregationChange(value)}
/>
>
{displayAdvancedOptions => displayAdvancedOptions && <p>RÖV</p>}
</Aggregations>
</React.Fragment>
)}
</Metrics>