mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-04 23:18:44 +08:00
rollback
This commit is contained in:
@@ -297,10 +297,6 @@ const sortedUninstalledList = computed(() => {
|
|||||||
return ret_list.sort((a, b) => {
|
return ret_list.sort((a, b) => {
|
||||||
return PluginStatistics.value[b.id || '0'] - PluginStatistics.value[a.id || '0']
|
return PluginStatistics.value[b.id || '0'] - PluginStatistics.value[a.id || '0']
|
||||||
})
|
})
|
||||||
} else if (activeSort.value == 'add_time') {
|
|
||||||
return ret_list.sort((a: any, b: any) => {
|
|
||||||
return b.add_time - a.add_time
|
|
||||||
})
|
|
||||||
} else if (activeSort.value) {
|
} else if (activeSort.value) {
|
||||||
return ret_list.sort((a: any, b: any) => {
|
return ret_list.sort((a: any, b: any) => {
|
||||||
return a[activeSort.value ?? ''] > b[activeSort.value ?? ''] ? 1 : -1
|
return a[activeSort.value ?? ''] > b[activeSort.value ?? ''] ? 1 : -1
|
||||||
|
|||||||
Reference in New Issue
Block a user