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
25a267a7
Commit
25a267a7
authored
May 08, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: segment used influxdb naming for variable in options callback, should be more generic
parent
f168c9e5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
public/app/core/directives/metric_segment.js
+1
-1
public/app/plugins/datasource/influxdb/partials/query.editor.html
+1
-1
No files found.
public/app/core/directives/metric_segment.js
View file @
25a267a7
...
...
@@ -77,7 +77,7 @@ function (_, $, coreModule) {
$scope
.
source
=
function
(
query
,
callback
)
{
$scope
.
$apply
(
function
()
{
$scope
.
getOptions
({
measurementFilter
:
query
}).
then
(
function
(
altSegments
)
{
$scope
.
getOptions
({
$query
:
query
}).
then
(
function
(
altSegments
)
{
$scope
.
altSegments
=
altSegments
;
options
=
_
.
map
(
$scope
.
altSegments
,
function
(
alt
)
{
return
alt
.
value
;
});
...
...
public/app/plugins/datasource/influxdb/partials/query.editor.html
View file @
25a267a7
...
...
@@ -11,7 +11,7 @@
<label
class=
"gf-form-label query-keyword width-7"
>
FROM
</label>
<metric-segment
segment=
"ctrl.policySegment"
get-options=
"ctrl.getPolicySegments()"
on-change=
"ctrl.policyChanged()"
></metric-segment>
<metric-segment
segment=
"ctrl.measurementSegment"
get-options=
"ctrl.getMeasurements(
measurementFilter
)"
on-change=
"ctrl.measurementChanged()"
></metric-segment>
<metric-segment
segment=
"ctrl.measurementSegment"
get-options=
"ctrl.getMeasurements(
$query
)"
on-change=
"ctrl.measurementChanged()"
></metric-segment>
</div>
<div
class=
"gf-form"
>
...
...
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