don't display submit to plus if object doesn't have a snapshot

This commit is contained in:
Josh Hawkins 2025-11-07 13:17:36 -06:00
parent c2203ead61
commit b0f9fefd97

View File

@ -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",