This commit is contained in:
alorig
2025-11-28 12:40:34 +05:00
parent f76e791de7
commit 636b7ddca9
6 changed files with 36 additions and 512 deletions

View File

@@ -327,10 +327,8 @@ const tableActionsConfigs: Record<string, TableActionsConfig> = {
icon: <ArrowRightIcon className="w-5 h-5" />,
variant: 'success',
shouldShow: (row: any) => {
// Only show if images are generated and not already published/publishing
return row.status === 'complete' &&
(!row.wordpress_status ||
(row.wordpress_status !== 'published' && row.wordpress_status !== 'publishing'));
// Only show if images are generated (complete) - WordPress status is tracked separately
return row.overall_status === 'complete';
},
},
{