Skip to content

Commit 71c60c5

Browse files
committed
minor update
1 parent 72f05a1 commit 71c60c5

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

web/src/lib/assistants/utils.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,6 @@ export function orderAssistantsForUser(
100100
);
101101

102102
remainingAssistants.sort((a, b) => {
103-
// First, prioritize default personas
104-
if (a.is_default_persona !== b.is_default_persona) {
105-
return a.is_default_persona ? -1 : 1;
106-
}
107-
// If both are default or both are not default, then sort by display priority
108103
const priorityA = a.display_priority ?? Number.MAX_SAFE_INTEGER;
109104
const priorityB = b.display_priority ?? Number.MAX_SAFE_INTEGER;
110105
return priorityA - priorityB;

0 commit comments

Comments
 (0)