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
0091885b
Unverified
Commit
0091885b
authored
Apr 15, 2020
by
Hugo Häggmark
Committed by
GitHub
Apr 15, 2020
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Variables: fixes error when setting adhoc variables values (#23580)
parent
80f40040
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
public/app/features/templating/variable_srv.ts
+3
-3
No files found.
public/app/features/templating/variable_srv.ts
View file @
0091885b
...
...
@@ -3,7 +3,7 @@ import angular, { auto, ILocationService, IPromise, IQService } from 'angular';
import
_
from
'lodash'
;
// Utils & Services
import
coreModule
from
'app/core/core_module'
;
import
{
variableTypes
}
from
'./types'
;
import
{
VariableActions
,
variableTypes
}
from
'./types'
;
import
{
Graph
}
from
'app/core/utils/dag'
;
import
{
TemplateSrv
}
from
'app/features/templating/template_srv'
;
import
{
TimeSrv
}
from
'app/features/dashboard/services/TimeSrv'
;
...
...
@@ -344,9 +344,9 @@ export class VariableSrv {
}
}
isVariableUrlValueDifferentFromCurrent
(
variable
:
any
,
urlValue
:
any
)
{
isVariableUrlValueDifferentFromCurrent
(
variable
:
VariableActions
,
urlValue
:
any
)
{
// lodash _.isEqual handles array of value equality checks as well
return
!
_
.
isEqual
(
variable
.
current
.
value
,
urlValue
);
return
!
_
.
isEqual
(
variable
.
getValueForUrl
()
,
urlValue
);
}
updateUrlParamsWithCurrentVariables
()
{
...
...
Kornkitt Poolsup
@Doratong24
mentioned in commit
a04ef6ce
Mar 05, 2021
mentioned in commit
a04ef6ce
mentioned in commit a04ef6cefc2f24f901f525263f65cf395e6cff28
Toggle commit list
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