fix
This commit is contained in:
@@ -110,13 +110,14 @@ export const CoursePicker = forwardRef<HTMLInputElement, CoursePickerProps>(
|
||||
variant="link"
|
||||
size="icon-sm"
|
||||
tabIndex={-1}
|
||||
className="cursor-pointer text-muted-foreground"
|
||||
className="cursor-pointer text-muted-foreground hover:text-accent-foreground"
|
||||
onClick={toggle}
|
||||
>
|
||||
{sort == 'a-z' ? <ArrowDownAZIcon /> : <ArrowUpAZIcon />}
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Force rerender to reset the scroll position */}
|
||||
<CommandList key={sort}>
|
||||
<CommandEmpty>Nenhum resultado encontrado.</CommandEmpty>
|
||||
|
||||
@@ -90,7 +90,7 @@ export async function loader({ params, context, request }: Route.LoaderArgs) {
|
||||
const courses = createSearch({
|
||||
index: 'saladeaula_courses',
|
||||
sort: ['created_at:desc'],
|
||||
filter: 'unlisted NOT EXISTS',
|
||||
filter: 'unlisted = false',
|
||||
hitsPerPage: 100,
|
||||
env: cloudflare.env
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user