Cleaned up the code. Whoops :P

This commit is contained in:
Josef Citrine 2016-08-29 23:12:01 +01:00
parent aa1f4181ce
commit 2c87852c66
2 changed files with 1 additions and 2 deletions

View file

@ -21,7 +21,7 @@ window.pfm.preloaders['admin-classifier'] = [
tracks.mainQuery.fromFilterString($state.params.filter) tracks.mainQuery.fromFilterString($state.params.filter)
tracks.mainQuery.setPage $state.params.page || 1 tracks.mainQuery.setPage $state.params.page || 1
tracks.mainQuery.setAdmin true tracks.mainQuery.setAdmin true
tracks.mainQuery.fetch(tracks.FetchType.ALL) tracks.mainQuery.fetch(tracks.FetchType.UNCLASSIFIED)
) )
] ]

View file

@ -34,7 +34,6 @@ module.exports = angular.module('ponyfm').directive 'pfmTrackEditor', () ->
albumsDb = {} albumsDb = {}
$scope.$watch 'trackId', (newValue, oldValue) -> $scope.$watch 'trackId', (newValue, oldValue) ->
console.log newValue, oldValue
$scope.updateUI() $scope.updateUI()
$scope.selectAlbum = (album) -> $scope.selectAlbum = (album) ->