Don't show button when event is in progress

This commit is contained in:
Nick Mowen 2023-02-17 12:55:15 -07:00
parent a6b3e90a5e
commit 5b54a417c1

View File

@ -527,7 +527,7 @@ export default function Events({ path, ...props }) {
</div> </div>
</div> </div>
<div class="hidden sm:flex flex-col justify-end mr-2"> <div class="hidden sm:flex flex-col justify-end mr-2">
{event.has_snapshot && ( {(event.end_time && event.has_snapshot) && (
<Fragment> <Fragment>
{event.plus_id ? ( {event.plus_id ? (
<div className="uppercase text-xs">Sent to Frigate+</div> <div className="uppercase text-xs">Sent to Frigate+</div>