mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-09 17:52:21 +01:00
fix(queues): remove faulty update, add null-coalescing on song user
Removal of update call might resolve #66, but I hope I do not negate @tjibbegottmer's work.
This commit is contained in:
@ -285,7 +285,6 @@
|
||||
watch: {
|
||||
playsIn: {
|
||||
handler(val, oldVal) {
|
||||
this.update_infobar();
|
||||
setCookie("PLAYS_IN", this.playsIn, 14);
|
||||
}
|
||||
},
|
||||
@ -359,7 +358,7 @@
|
||||
}
|
||||
infoBar.now_in_seconds = Math.round((new Date()).getTime() / 1000);
|
||||
// If the current song is the current user's, their queue has started.
|
||||
if (this.queue[0].user.id === this.user_data.id) {
|
||||
if (this.queue[0].user?.id === this.user_data.id) {
|
||||
infoBar.start_personal_queue = 0;
|
||||
}
|
||||
for (let i = 0; i < this.queue.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user