mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-27 17:17:40 +03:00
Cleanup filter
This commit is contained in:
parent
fff75df504
commit
aed9b86f86
@ -704,11 +704,17 @@ function TrainGrid({
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (trainFilter.min_score && trainFilter.min_score > data.score) {
|
if (
|
||||||
|
trainFilter.min_score &&
|
||||||
|
trainFilter.min_score > data.score / 100.0
|
||||||
|
) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (trainFilter.max_score && trainFilter.max_score < data.score) {
|
if (
|
||||||
|
trainFilter.max_score &&
|
||||||
|
trainFilter.max_score <= data.score / 100.0
|
||||||
|
) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user