Combine query functions

This commit is contained in:
David Kaltschmidt
2018-11-21 17:21:13 +01:00
parent 22987ee75f
commit 331d419d4f
2 changed files with 32 additions and 65 deletions

View File

@@ -85,7 +85,7 @@ interface CascaderOption {
disabled?: boolean;
}
type PromQueryFieldProps = {
interface PromQueryFieldProps {
datasource: any;
error?: string | JSX.Element;
initialQuery: DataQuery;
@@ -95,7 +95,7 @@ type PromQueryFieldProps = {
onClickHintFix?: (action: any) => void;
onPressEnter?: () => void;
onQueryChange?: (value: DataQuery, override?: boolean) => void;
};
}
interface PromQueryFieldState {
metricsOptions: any[];