mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-28 22:26:58 -05:00
Fix: Block photo uploads on entity edits
This commit is contained in:
@@ -107,7 +107,10 @@ export function EntityPhotoGallery({
|
||||
return (
|
||||
<div className="space-y-4">
|
||||
<div className="flex flex-col sm:flex-row items-start sm:items-center justify-between gap-2 sm:gap-0">
|
||||
<h3 className="text-base sm:text-lg font-semibold">Upload Photos for {entityName}</h3>
|
||||
<div>
|
||||
<h3 className="text-base sm:text-lg font-semibold">Submit Additional Photos for {entityName}</h3>
|
||||
<p className="text-sm text-muted-foreground">Photos submitted here go through a separate review process</p>
|
||||
</div>
|
||||
<Button variant="ghost" onClick={() => setShowUpload(false)} className="w-full sm:w-auto">
|
||||
Back to Gallery
|
||||
</Button>
|
||||
@@ -155,7 +158,7 @@ export function EntityPhotoGallery({
|
||||
{user ? (
|
||||
<>
|
||||
<Upload className="w-4 h-4" />
|
||||
<span className="sm:inline">Upload Photos</span>
|
||||
<span className="sm:inline">Submit Additional Photos</span>
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user