fix: Jellyseerr order by "default" not preselected (ui)

- ui just didnt reflect this
This commit is contained in:
herrrta
2025-03-05 00:47:47 -05:00
parent 79a2873975
commit baccc931a2

View File

@@ -55,7 +55,7 @@ export default function search() {
const [settings] = useSettings();
const { jellyseerrApi } = useJellyseerr();
const [jellyseerrOrderBy, setJellyseerrOrderBy] = useState<JellyseerrSearchSort>(JellyseerrSearchSort.DEFAULT)
const [jellyseerrOrderBy, setJellyseerrOrderBy] = useState<JellyseerrSearchSort>(JellyseerrSearchSort[JellyseerrSearchSort.DEFAULT] as unknown as JellyseerrSearchSort)
const [jellyseerrSortOrder, setJellyseerrSortOrder] = useState<"asc" | "desc">("desc")
const searchEngine = useMemo(() => {