fix: allow generating review link for pre-existing posts
All checks were successful
Deploy / deploy (push) Successful in 12s
All checks were successful
Deploy / deploy (push) Successful in 12s
Show button only when post has no approval token. Once a link exists, only the link is shown. Server preserves status for non-draft posts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -436,7 +436,7 @@ export default function PostDetailPanel({ post, onClose, onSave, onDelete, brand
|
||||
{!isCreateMode && (
|
||||
<>
|
||||
{/* Submit for Review */}
|
||||
{(form.status === 'draft' || form.status === 'rejected') && (
|
||||
{!reviewUrl && (
|
||||
<button
|
||||
onClick={handleSubmitReview}
|
||||
disabled={submittingReview}
|
||||
|
||||
Reference in New Issue
Block a user