Don't show submit to frigate plus card if plus is disabled

This commit is contained in:
Josh Hawkins 2024-10-13 11:48:13 -05:00
parent 0fc7999780
commit 621d1d260e

View File

@ -536,6 +536,7 @@ function ObjectSnapshotTab({
/>
)}
</TransformComponent>
{search.plus_id !== "not_enabled" && (
<Card className="p-1 text-sm md:p-2">
<CardContent className="flex flex-col items-center justify-between gap-3 p-2 md:flex-row">
<div className={cn("flex flex-col space-y-3")}>
@ -587,6 +588,7 @@ function ObjectSnapshotTab({
</div>
</CardContent>
</Card>
)}
</div>
</TransformWrapper>
</div>