diff --git a/src/lib/components/ui/navbar/commands/Commands.svelte b/src/lib/components/ui/navbar/commands/Commands.svelte index c9a233f5..fb0d8a7d 100644 --- a/src/lib/components/ui/navbar/commands/Commands.svelte +++ b/src/lib/components/ui/navbar/commands/Commands.svelte @@ -259,6 +259,10 @@ { + if (action.href) { + togglePalette() + return + } e.stopPropagation() handleSelect(action) }} diff --git a/src/lib/components/ui/navbar/commands/actions.ts b/src/lib/components/ui/navbar/commands/actions.ts index 28c6824e..d690661f 100644 --- a/src/lib/components/ui/navbar/commands/actions.ts +++ b/src/lib/components/ui/navbar/commands/actions.ts @@ -136,17 +136,17 @@ export function getGroups(resumables: ResumableItem[], profile: Profile) { { name: t.get('filter.sort.top.time.9months'), icon: ChartBar, - href: '/?sort=Top9Months', + href: '/?sort=TopNineMonths', }, { name: t.get('filter.sort.top.time.6months'), icon: ChartBar, - href: '/?sort=Top6Months', + href: '/?sort=TopSixMonths', }, { name: t.get('filter.sort.top.time.3months'), icon: ChartBar, - href: '/?sort=Top3Months', + href: '/?sort=TopThreeMonths', }, { name: t.get('filter.sort.top.time.month'), @@ -166,7 +166,7 @@ export function getGroups(resumables: ResumableItem[], profile: Profile) { { name: t.get('filter.sort.top.time.6hours'), icon: ChartBar, - href: '/?sort=Top6Hours', + href: '/?sort=TopSixHours', }, { name: t.get('filter.sort.top.time.hour'),