File tree Expand file tree Collapse file tree
Thread/ThreadCenterPanel/ChatBody/OnDeviceStarterScreen Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,14 +39,6 @@ const availableHotkeys = [
3939 combination : 'Shift Enter' ,
4040 description : 'Insert a new line (in input field)' ,
4141 } ,
42- {
43- combination : 'Arrow Up' ,
44- description : 'Navigate to previous option (within search dialog)' ,
45- } ,
46- {
47- combination : 'Arrow Down' ,
48- description : 'Navigate to next option (within search dialog)' ,
49- } ,
5042]
5143
5244const Hotkeys = ( ) => {
Original file line number Diff line number Diff line change @@ -85,9 +85,9 @@ const OnDeviceStarterScreen = ({ extensionHasSettings }: Props) => {
8585
8686 const remoteModelEngine = remoteModel . map ( ( x ) => x . engine )
8787
88- const groupByEngine = remoteModelEngine . filter ( function ( item , index ) {
89- if ( remoteModelEngine . indexOf ( item ) === index ) return item
90- } )
88+ const groupByEngine = remoteModelEngine
89+ . filter ( ( item , index ) => remoteModelEngine . indexOf ( item ) === index )
90+ . sort ( ( a , b ) => a . localeCompare ( b ) )
9191
9292 const itemsPerRow = 5
9393
You can’t perform that action at this time.
0 commit comments