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
31ddcdb3
Commit
31ddcdb3
authored
Sep 28, 2018
by
Erik Sundell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stackdriver: make sure labels are loaded when service is changed in dropdown
parent
189f89a9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
+1
-0
public/app/plugins/datasource/stackdriver/query_filter_ctrl.ts
+1
-0
No files found.
public/app/plugins/datasource/stackdriver/query_filter_ctrl.ts
View file @
31ddcdb3
...
@@ -161,6 +161,7 @@ export class StackdriverFilterCtrl {
...
@@ -161,6 +161,7 @@ export class StackdriverFilterCtrl {
this
.
target
.
service
=
this
.
service
;
this
.
target
.
service
=
this
.
service
;
this
.
metrics
=
this
.
getMetricsList
();
this
.
metrics
=
this
.
getMetricsList
();
this
.
setMetricType
();
this
.
setMetricType
();
this
.
getLabels
();
if
(
!
this
.
metrics
.
find
(
m
=>
m
.
value
===
this
.
target
.
metricType
))
{
if
(
!
this
.
metrics
.
find
(
m
=>
m
.
value
===
this
.
target
.
metricType
))
{
this
.
target
.
metricType
=
this
.
$scope
.
defaultDropdownValue
;
this
.
target
.
metricType
=
this
.
$scope
.
defaultDropdownValue
;
}
else
{
}
else
{
...
...
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