forked from Github/frigate
Plus upload in progress (#5521)
* Fix frigate+ uploading bug Fixes https://github.com/blakeblackshear/frigate/issues/5515 * wording * Formatting * Don't show button when event is in progress * Don't show in download menu either
This commit is contained in:
@@ -366,7 +366,7 @@ export default function Events({ path, ...props }) {
|
||||
download
|
||||
/>
|
||||
)}
|
||||
{downloadEvent.has_snapshot && !downloadEvent.plus_id && (
|
||||
{(downloadEvent.end_time && downloadEvent.has_snapshot && !downloadEvent.plus_id) && (
|
||||
<MenuItem
|
||||
icon={UploadPlus}
|
||||
label={uploading.includes(downloadEvent.id) ? 'Uploading...' : 'Send to Frigate+'}
|
||||
@@ -527,7 +527,7 @@ export default function Events({ path, ...props }) {
|
||||
</div>
|
||||
</div>
|
||||
<div class="hidden sm:flex flex-col justify-end mr-2">
|
||||
{event.has_snapshot && (
|
||||
{(event.end_time && event.has_snapshot) && (
|
||||
<Fragment>
|
||||
{event.plus_id ? (
|
||||
<div className="uppercase text-xs">Sent to Frigate+</div>
|
||||
|
||||
Reference in New Issue
Block a user