File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export class DynamicDashboardSrv {
24
24
if ( dashboard . templating . list . length === 0 ) { return ; }
25
25
26
26
this . dashboard = dashboard ;
27
- this . iteration = new Date ( ) . getTime ( ) ;
27
+ this . iteration = ( this . iteration || new Date ( ) . getTime ( ) ) + 1 ;
28
28
29
29
var cleanUpOnly = options . cleanUpOnly ;
30
30
Original file line number Diff line number Diff line change 1
1
define ( [
2
- 'app/features/dashboard/dynamicDashboardSrv ' ,
2
+ 'app/features/dashboard/dynamic_dashboard_srv ' ,
3
3
'app/features/dashboard/dashboardSrv'
4
4
] , function ( ) {
5
5
'use strict' ;
@@ -12,6 +12,7 @@ define([
12
12
ctx . setup = function ( setupFunc ) {
13
13
14
14
beforeEach ( module ( 'grafana.services' ) ) ;
15
+ beforeEach ( module ( 'grafana.core' ) ) ;
15
16
beforeEach ( module ( function ( $provide ) {
16
17
$provide . value ( 'contextSrv' , {
17
18
user : { timezone : 'utc' }
You can’t perform that action at this time.
0 commit comments