mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
fix queue sort
This commit is contained in:
@@ -180,7 +180,7 @@ const queue = computed(() => {
|
|||||||
if (configCanEdit.value ? settings.value.isReverse : isReverse.value) {
|
if (configCanEdit.value ? settings.value.isReverse : isReverse.value) {
|
||||||
list = list.Reverse()
|
list = list.Reverse()
|
||||||
}
|
}
|
||||||
list = list.ThenByDescending((q) => (q.status == QueueStatus.Progressing ? 1 : 0))
|
list = list.OrderByDescending((q) => (q.status == QueueStatus.Progressing ? 1 : 0))
|
||||||
return list.ToArray()
|
return list.ToArray()
|
||||||
})
|
})
|
||||||
const historySongs = computed(() => {
|
const historySongs = computed(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user