mirror of
https://github.com/SuperBFG7/ympd
synced 2024-12-25 02:20:27 +00:00
Fix: update last played tab on state change
This commit is contained in:
parent
d8e9afa8a4
commit
2b2991d343
@ -1594,7 +1594,7 @@ function parseState(obj) {
|
||||
pb[i].innerText = '';
|
||||
}
|
||||
|
||||
if (app.current.app == 'LastPlayed')
|
||||
if (app.current.app == 'Queue' && app.current.tab == 'LastPlayed')
|
||||
sendAPI({"cmd": "MPD_API_QUEUE_LAST_PLAYED", "data": {"offset": app.current.page}}, parseLastPlayed);
|
||||
|
||||
lastState = obj;
|
||||
|
Loading…
Reference in New Issue
Block a user