Skip to content

Commit

Permalink
UI: Reverse login display ordering (logged out first)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdicarlo committed Mar 3, 2021
1 parent 056596e commit b74ae9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/views/login/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class Login extends React.Component<Props> {
if (aLoggedIn === bLoggedIn) {
return a[1].name.localeCompare(b[1].name);
} else {
if (aLoggedIn && !bLoggedIn) return -1;
if (!aLoggedIn && bLoggedIn) return -1;
else return 1;
}
});
Expand Down

0 comments on commit b74ae9e

Please sign in to comment.