asdasdsa
This commit is contained in:
@@ -116,7 +116,7 @@ export const createIdeasPageConfig = (
|
||||
{
|
||||
key: 'content_structure',
|
||||
label: 'Structure',
|
||||
sortable: true,
|
||||
sortable: false, // Backend doesn't support sorting by content_structure
|
||||
sortField: 'content_structure',
|
||||
width: '130px',
|
||||
render: (value: string) => {
|
||||
@@ -134,7 +134,7 @@ export const createIdeasPageConfig = (
|
||||
{
|
||||
key: 'content_type',
|
||||
label: 'Type',
|
||||
sortable: true,
|
||||
sortable: false, // Backend doesn't support sorting by content_type
|
||||
sortField: 'content_type',
|
||||
width: '110px',
|
||||
render: (value: string) => {
|
||||
@@ -161,14 +161,14 @@ export const createIdeasPageConfig = (
|
||||
{
|
||||
key: 'keyword_cluster_name',
|
||||
label: 'Cluster',
|
||||
sortable: true,
|
||||
sortable: false, // Backend doesn't support sorting by keyword_cluster_id
|
||||
sortField: 'keyword_cluster_id',
|
||||
width: '200px',
|
||||
render: (_value: string, row: ContentIdea) => row.keyword_cluster_name || '-',
|
||||
},
|
||||
{
|
||||
...statusColumn,
|
||||
sortable: true,
|
||||
sortable: false, // Backend doesn't support sorting by status
|
||||
sortField: 'status',
|
||||
render: (value: string) => {
|
||||
const statusColors: Record<string, 'success' | 'amber' | 'info'> = {
|
||||
@@ -202,7 +202,7 @@ export const createIdeasPageConfig = (
|
||||
{
|
||||
key: 'updated_at',
|
||||
label: 'Updated',
|
||||
sortable: true,
|
||||
sortable: false, // Backend doesn't support sorting by updated_at
|
||||
sortField: 'updated_at',
|
||||
defaultVisible: false,
|
||||
render: (value: string) => formatRelativeDate(value),
|
||||
|
||||
Reference in New Issue
Block a user