Added reload button in favorites tab

This commit is contained in:
RemixDev 2020-06-10 18:46:08 +02:00
parent 7b91525336
commit 55f40ae5a4
2 changed files with 5 additions and 1 deletions

View file

@ -239,6 +239,10 @@ def analyzeLink(link):
def getChartTracks(id):
emit('setChartTracks', session['dz'].get_playlist_tracks(id)['data'])
@socketio.on('update_userFavorites')
def update_userFavorites():
emit('updated_userFavorites', app.getUserFavorites(session['dz']))
@socketio.on('update_userSpotifyPlaylists')
def update_userSpotifyPlaylists(spotifyUser):
if spotifyUser != False:

2
webui

@ -1 +1 @@
Subproject commit a0204c4953ec59112d328f3b9ac8b2c5c27a04bd
Subproject commit 9cdad5d13dff69bfa9740d27274dd875b9b00c7d