Attempted fix for paged track lists not having functional page lists

This commit is contained in:
Josef Citrine 2016-08-28 03:21:01 +01:00
parent 9de1d53cd7
commit bdbaca7a19

View file

@ -61,7 +61,7 @@ module.exports = angular.module('ponyfm').directive 'pfmPagedTracksList', () ->
$scope.pageSelectorShown = false
$scope.gotoPage = (page) ->
$state.transitionTo 'content.tracks.list', {filter: $state.params.filter, page: page}
$state.transitionTo $state.current.name, {filter: $state.params.filter, page: page}
$scope.showPageSelector = () ->
$scope.pageSelectorShown = true