mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(playlist): fixes broken search filter
This commit is contained in:
parent
98dccb8641
commit
1da1849de6
@ -54,7 +54,7 @@ function (angular, config, _) {
|
||||
$scope.filterFoundPlaylistItems = function() {
|
||||
$scope.filteredPlaylistItems = _.reject($scope.foundPlaylistItems, function(playlistItem) {
|
||||
return _.findWhere($scope.playlistItems, function(listPlaylistItem) {
|
||||
return listPlaylistItem === playlistItem;
|
||||
return parseInt(listPlaylistItem.value) === playlistItem.id;
|
||||
});
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user