Fix display of save button in tracked object details pane (#15946)

This commit is contained in:
Josh Hawkins 2025-01-11 15:23:52 -06:00 committed by GitHub
parent 173b7aa308
commit ef6952e3ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -543,8 +543,8 @@ function ObjectDetailsTab({
)} )}
</div> </div>
)} )}
{(config?.cameras[search.camera].genai.enabled && search.end_time) || {((config?.cameras[search.camera].genai.enabled && search.end_time) ||
(!config?.cameras[search.camera].genai.enabled && ( !config?.cameras[search.camera].genai.enabled) && (
<Button <Button
variant="select" variant="select"
aria-label="Save" aria-label="Save"
@ -552,7 +552,7 @@ function ObjectDetailsTab({
> >
Save Save
</Button> </Button>
))} )}
</div> </div>
</div> </div>
</div> </div>