mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-14 23:25:25 +03:00
use limit const
This commit is contained in:
parent
872e4de488
commit
d278ebc822
@ -110,7 +110,8 @@ export default function Explore() {
|
|||||||
before: searchSearchParams["before"],
|
before: searchSearchParams["before"],
|
||||||
after: searchSearchParams["after"],
|
after: searchSearchParams["after"],
|
||||||
search_type: searchSearchParams["search_type"],
|
search_type: searchSearchParams["search_type"],
|
||||||
limit: Object.keys(searchSearchParams).length == 0 ? 20 : undefined,
|
limit:
|
||||||
|
Object.keys(searchSearchParams).length == 0 ? API_LIMIT : undefined,
|
||||||
in_progress: 0,
|
in_progress: 0,
|
||||||
include_thumbnails: 0,
|
include_thumbnails: 0,
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user