Copilot commented on code in PR #3960:
URL: https://github.com/apache/texera/pull/3960#discussion_r2446032298


##########
frontend/src/app/dashboard/component/admin/user/admin-user.component.ts:
##########
@@ -203,6 +203,14 @@ export class AdminUserComponent implements OnInit {
     return user.accountCreation * 1000;
   }
 
+  sortByActive: NzTableSortFn<User> = (a: User, b: User) => {
+    const aActive = this.isUserActive(a);
+    const bActive = this.isUserActive(b);
+
+    if (aActive === bActive) return 0;        // tie → keep original order

Review Comment:
   Remove the trailing whitespace before the comment.
   ```suggestion
       if (aActive === bActive) return 0; // tie → keep original order
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to