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
6fc972ab
Commit
6fc972ab
authored
Jan 18, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Plain Diff
feat(playlists): merge sync with RP
parents
66eebd1a
568832c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
pkg/api/playlist.go
+1
-0
public/app/features/playlist/playlist_srv.ts
+3
-1
No files found.
pkg/api/playlist.go
View file @
6fc972ab
...
...
@@ -180,6 +180,7 @@ func CreatePlaylist(c *middleware.Context, cmd m.CreatePlaylistCommand) Response
func
UpdatePlaylist
(
c
*
middleware
.
Context
,
cmd
m
.
UpdatePlaylistCommand
)
Response
{
cmd
.
OrgId
=
c
.
OrgId
if
err
:=
bus
.
Dispatch
(
&
cmd
);
err
!=
nil
{
return
ApiError
(
500
,
"Failed to save playlist"
,
err
)
}
...
...
public/app/features/playlist/playlist_srv.ts
View file @
6fc972ab
...
...
@@ -17,7 +17,9 @@ class PlaylistSrv {
next
()
{
this
.
$timeout
.
cancel
(
this
.
cancelPromise
);
if
(
this
.
index
>
this
.
dashboards
.
length
-
1
)
{
var
playedAllDashboards
=
this
.
index
>
this
.
dashboards
.
length
-
1
;
if
(
playedAllDashboards
)
{
this
.
start
(
this
.
playlistId
);
}
else
{
var
dash
=
this
.
dashboards
[
this
.
index
];
...
...
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