Browse Source

fix: array for continue issue - user sort management

feat/user-management-sort
Ramesh Mane 11 months ago
parent
commit
b4bc820be2
  1. 2
      packages/nc-gui/composables/useUserSorts.ts

2
packages/nc-gui/composables/useUserSorts.ts

@ -114,7 +114,7 @@ export function useUserSorts() {
let sortCondition = 0
for (const { field, direction } of sortsConfig) {
if (a[field]) continue
if (!a[field]) continue
if (direction === 'asc') {
sortCondition = sortCondition || a[field]?.localeCompare(b[field])

Loading…
Cancel
Save