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
8afb84a5
Commit
8afb84a5
authored
Oct 24, 2017
by
Patrick O'Carroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: fixed playlist controls and view state, fixes #9639
parent
e91b00c3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
public/app/core/directives/dash_class.js
+2
-2
public/app/features/dashboard/dashboard_ctrl.ts
+2
-0
public/app/features/dashboard/dashnav/dashnav.ts
+1
-0
No files found.
public/app/core/directives/dash_class.js
View file @
8afb84a5
...
...
@@ -31,8 +31,8 @@ function (_, $, coreModule) {
}
});
$scope
.
$watch
(
'playlistSrv'
,
function
(
newValue
)
{
elem
.
toggleClass
(
'playlist-active'
,
_
.
isObject
(
newValue
)
);
$scope
.
$watch
(
'playlistSrv
.isPlaying
'
,
function
(
newValue
)
{
elem
.
toggleClass
(
'playlist-active'
,
newValue
);
});
}
};
...
...
public/app/features/dashboard/dashboard_ctrl.ts
View file @
8afb84a5
...
...
@@ -20,10 +20,12 @@ export class DashboardCtrl {
dynamicDashboardSrv
,
dashboardViewStateSrv
,
contextSrv
,
playlistSrv
,
alertSrv
,
$timeout
)
{
$scope
.
editor
=
{
index
:
0
};
$scope
.
playlistSrv
=
playlistSrv
;
var
resizeEventTimeout
;
...
...
public/app/features/dashboard/dashnav/dashnav.ts
View file @
8afb84a5
...
...
@@ -19,6 +19,7 @@ export class DashNavCtrl {
private
$location
,
private
backendSrv
,
private
contextSrv
,
public
playlistSrv
,
navModelSrv
)
{
this
.
navModel
=
navModelSrv
.
getDashboardNav
(
this
.
dashboard
,
this
);
...
...
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