mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 06:23:42 +00:00
Fix clicking behavior
This commit is contained in:
parent
d56ab44a58
commit
d765153992
@ -514,8 +514,8 @@ function TrainingGrid({
|
||||
recognitionConfig={config.face_recognition}
|
||||
selected={selectedFaces.includes(data.filename)}
|
||||
onClick={(data, meta) => {
|
||||
if (meta) {
|
||||
onClickFace(data.filename, meta);
|
||||
if (meta || selectedFaces.length > 0) {
|
||||
onClickFace(data.filename, true);
|
||||
} else {
|
||||
setSelectedEvent(event);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user