fix: reorder alphabetical cloud model on starter screen (#4072)
* fix: reorder alphabetical cloud model on starter screen * chore: update sort after group
This commit is contained in:
parent
8b485ba44f
commit
9ecad0972e
@ -39,14 +39,6 @@ const availableHotkeys = [
|
|||||||
combination: 'Shift Enter',
|
combination: 'Shift Enter',
|
||||||
description: 'Insert a new line (in input field)',
|
description: 'Insert a new line (in input field)',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
combination: 'Arrow Up',
|
|
||||||
description: 'Navigate to previous option (within search dialog)',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
combination: 'Arrow Down',
|
|
||||||
description: 'Navigate to next option (within search dialog)',
|
|
||||||
},
|
|
||||||
]
|
]
|
||||||
|
|
||||||
const Hotkeys = () => {
|
const Hotkeys = () => {
|
||||||
|
|||||||
@ -99,7 +99,10 @@ const OnDeviceStarterScreen = ({ extensionHasSettings }: Props) => {
|
|||||||
return rows
|
return rows
|
||||||
}
|
}
|
||||||
|
|
||||||
const rows = getRows(groupByEngine, itemsPerRow)
|
const rows = getRows(
|
||||||
|
groupByEngine.sort((a, b) => a.localeCompare(b)),
|
||||||
|
itemsPerRow
|
||||||
|
)
|
||||||
|
|
||||||
const refDropdown = useClickOutside(() => setIsOpen(false))
|
const refDropdown = useClickOutside(() => setIsOpen(false))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user