Fixed page bug

This commit is contained in:
Josef Citrine 2017-05-16 22:23:27 +01:00
parent 6248f07eb1
commit 15ab486a50

View file

@ -54,10 +54,6 @@ module.exports = angular.module('ponyfm').directive 'pfmPagedTracksList', () ->
$scope.newClickOverride = (id) ->
$scope.clickOverride({id: id})
tracks.loadFilters().then(
tracks.mainQuery.fromFilterString($state.params.filter)
)
typeEnum = switch
when $scope.type == 'normal' then tracks.FetchType.NORMAL
when $scope.type == 'all' then tracks.FetchType.ALL