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
693af182
Commit
693af182
authored
Jun 26, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed broken playlist in master, Fixes #2240
parent
906e70e5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
public/app/features/dashboard/playlistCtrl.js
+2
-2
public/app/features/dashboard/playlistSrv.js
+1
-1
No files found.
public/app/features/dashboard/playlistCtrl.js
View file @
693af182
...
...
@@ -25,14 +25,14 @@ function (angular, _, config) {
}
backendSrv
.
search
(
query
).
then
(
function
(
results
)
{
$scope
.
searchHits
=
results
.
dashboards
;
$scope
.
searchHits
=
results
;
$scope
.
filterHits
();
});
};
$scope
.
filterHits
=
function
()
{
$scope
.
filteredHits
=
_
.
reject
(
$scope
.
searchHits
,
function
(
dash
)
{
return
_
.
findWhere
(
$scope
.
playlist
,
{
slug
:
dash
.
slug
});
return
_
.
findWhere
(
$scope
.
playlist
,
{
uri
:
dash
.
uri
});
});
};
...
...
public/app/features/dashboard/playlistSrv.js
View file @
693af182
...
...
@@ -18,7 +18,7 @@ function (angular, _, kbn) {
angular
.
element
(
window
).
unbind
(
'resize'
);
var
dash
=
self
.
dashboards
[
self
.
index
%
self
.
dashboards
.
length
];
$location
.
url
(
'dashboard/
db/'
+
dash
.
slug
);
$location
.
url
(
'dashboard/
'
+
dash
.
uri
);
self
.
index
++
;
self
.
cancelPromise
=
$timeout
(
self
.
next
,
self
.
interval
);
...
...
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