This commit is contained in:
IGNY8 VPS (Salman)
2025-11-11 16:03:58 +00:00
parent 618ed0543d
commit fedf415646
4 changed files with 36 additions and 8 deletions

View File

@@ -102,7 +102,7 @@ export const createContentPageConfig = (
render: (value: string, row: Content) => (
<div>
<div className="font-medium text-gray-900 dark:text-white">
{row.meta_title || row.title || row.task_title || `Task #${row.task}`}
{row.meta_title || row.title || row.task_title || `Task #${row.task_id}`}
</div>
{row.meta_description && (
<div className="mt-1 text-sm text-gray-500 dark:text-gray-400 line-clamp-2">

View File

@@ -257,6 +257,12 @@ const tableActionsConfigs: Record<string, TableActionsConfig> = {
icon: EditIcon,
variant: 'primary',
},
{
key: 'generate_images',
label: 'Generate Images',
icon: <BoltIcon className="w-5 h-5 text-purple-500" />,
variant: 'primary',
},
],
bulkActions: [
{
@@ -271,12 +277,6 @@ const tableActionsConfigs: Record<string, TableActionsConfig> = {
icon: <DownloadIcon className="w-4 h-4 text-blue-light-500" />,
variant: 'secondary',
},
{
key: 'generate_images',
label: 'Generate Images',
icon: <BoltIcon className="w-4 h-4 text-purple-500" />,
variant: 'secondary',
},
{
key: 'publish',
label: 'Publish Selected',