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
499bad5f
Commit
499bad5f
authored
Mar 10, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4320 from mtanda/templating_fix_on_time_range_change
fix to use variable.refresh flag
parents
6670e6cd
df2a23d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
public/app/features/templating/templateValuesSrv.js
+1
-1
public/dashboards/template_vars.json
+1
-1
No files found.
public/app/features/templating/templateValuesSrv.js
View file @
499bad5f
...
...
@@ -74,7 +74,7 @@ function (angular, _, kbn) {
if
(
urlValue
!==
void
0
)
{
return
self
.
setVariableFromUrl
(
variable
,
urlValue
).
then
(
lock
.
resolve
);
}
else
if
(
variable
.
refresh
===
'On Dashboard Load'
||
variable
.
refresh
===
'On Time Change and Dashboard Load'
)
{
else
if
(
variable
.
refresh
===
1
||
variable
.
refresh
===
2
)
{
return
self
.
updateOptions
(
variable
).
then
(
function
()
{
if
(
_
.
isEmpty
(
variable
.
current
)
&&
variable
.
options
.
length
)
{
console
.
log
(
"setting current for %s"
,
variable
.
name
);
...
...
public/dashboards/template_vars.json
View file @
499bad5f
...
...
@@ -258,6 +258,6 @@
"annotations"
:
{
"enable"
:
false
},
"refresh"
:
"Never"
,
"refresh"
:
0
,
"version"
:
6
}
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