mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-02-07 14:26:44 +01:00
Fixed broken track pages for guests.
This commit is contained in:
parent
a482a183dc
commit
221268a0b7
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ module.exports = angular.module('ponyfm').factory('playlists', [
|
||||||
isPlaylistPinned: (id) ->
|
isPlaylistPinned: (id) ->
|
||||||
_.find(self.pinnedPlaylists, (p) -> `p.id == id`) != undefined
|
_.find(self.pinnedPlaylists, (p) -> `p.id == id`) != undefined
|
||||||
|
|
||||||
refreshOwned: (force = false, slug = window.pfm.auth.user.slug) ->
|
refreshOwned: (force = false, slug = window.pfm.auth.user?.slug) ->
|
||||||
return playlistDef if !force && playlistDef
|
return playlistDef if !force && playlistDef
|
||||||
|
|
||||||
playlistDef = new $.Deferred()
|
playlistDef = new $.Deferred()
|
||||||
|
|
Loading…
Reference in a new issue