mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-06 21:44:13 +03:00
don't display submit to plus if object doesn't have a snapshot
This commit is contained in:
parent
c2203ead61
commit
b0f9fefd97
@ -1244,7 +1244,8 @@ function ObjectDetailsTab({
|
|||||||
|
|
||||||
{search.data.type === "object" &&
|
{search.data.type === "object" &&
|
||||||
!search.plus_id &&
|
!search.plus_id &&
|
||||||
config?.plus?.enabled && (
|
config?.plus?.enabled &&
|
||||||
|
search.has_snapshot && (
|
||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
"my-2 flex w-full flex-col justify-between gap-1.5",
|
"my-2 flex w-full flex-col justify-between gap-1.5",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user