This commit is contained in:
alorig
2025-11-28 13:23:49 +05:00
parent 10ec7fb33b
commit 7c4ed6a16c
6 changed files with 5 additions and 899 deletions

View File

@@ -321,16 +321,6 @@ const tableActionsConfigs: Record<string, TableActionsConfig> = {
},
'/writer/images': {
rowActions: [
{
key: 'publish_wordpress',
label: 'Publish to WordPress',
icon: <ArrowRightIcon className="w-5 h-5" />,
variant: 'success',
shouldShow: (row: any) => {
// Only show if images are generated (complete) - WordPress status is tracked separately
return row.overall_status === 'complete';
},
},
{
key: 'update_status',
label: 'Update Status',
@@ -338,14 +328,7 @@ const tableActionsConfigs: Record<string, TableActionsConfig> = {
variant: 'primary',
},
],
bulkActions: [
{
key: 'bulk_publish_wordpress',
label: 'Publish Ready to WordPress',
icon: <ArrowRightIcon className="w-5 h-5" />,
variant: 'success',
},
],
bulkActions: [],
},
// Default config (fallback)
default: {