mirror of
https://github.com/tiny-craft/tiny-rdm.git
synced 2025-12-24 13:27:51 +08:00
fix: client list can not sort by idle time (#438)
This commit is contained in:
@@ -576,7 +576,7 @@ const clientTableColumns = computed(() => {
|
||||
{
|
||||
key: 'idle',
|
||||
title: () => i18n.t('status.client.idle'),
|
||||
sorter: (row1, row2) => row1.age - row2.age,
|
||||
sorter: (row1, row2) => row1.idle - row2.idle,
|
||||
align: 'center',
|
||||
titleAlign: 'center',
|
||||
render: ({ idle }, index) => {
|
||||
|
||||
Reference in New Issue
Block a user