Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
40b73a1f
Commit
40b73a1f
authored
Jan 22, 2019
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unused props & state in PromQueryField
parent
e8e1d353
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
public/app/plugins/datasource/prometheus/components/PromQueryField.tsx
+0
-3
No files found.
public/app/plugins/datasource/prometheus/components/PromQueryField.tsx
View file @
40b73a1f
...
...
@@ -91,7 +91,6 @@ interface PromQueryFieldProps {
initialQuery
:
PromQuery
;
hint
?:
any
;
history
?:
any
[];
metricsByPrefix
?:
CascaderOption
[];
onClickHintFix
?:
(
action
:
any
)
=>
void
;
onPressEnter
?:
()
=>
void
;
onQueryChange
?:
(
value
:
PromQuery
,
override
?:
boolean
)
=>
void
;
...
...
@@ -99,7 +98,6 @@ interface PromQueryFieldProps {
interface
PromQueryFieldState
{
metricsOptions
:
any
[];
metricsByPrefix
:
CascaderOption
[];
syntaxLoaded
:
boolean
;
}
...
...
@@ -124,7 +122,6 @@ class PromQueryField extends React.PureComponent<PromQueryFieldProps, PromQueryF
];
this
.
state
=
{
metricsByPrefix
:
[],
metricsOptions
:
[],
syntaxLoaded
:
false
,
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment