annoying error

This commit is contained in:
Nuckyz 2024-11-03 15:33:27 -03:00
parent e038c10042
commit 17926c9aac
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -117,7 +117,7 @@ export default definePlugin({
wrapSort(comparator: Function, row: any) {
return row.type === 5
? -UserAffinitiesStore.getUserAffinity(row.user.id)?.affinity ?? 0
? -(UserAffinitiesStore.getUserAffinity(row.user.id)?.affinity ?? 0)
: comparator(row);
},