rearrange sub cols
This commit is contained in:
parent
b69a172dd5
commit
6e42145e88
|
@ -11,6 +11,26 @@ const columnHelper = createColumnHelper<SubComplete>()
|
|||
|
||||
export const columns: ColumnDef<SubComplete>[] = [
|
||||
selectCol,
|
||||
{
|
||||
accessorFn: row => {
|
||||
if (row.story) {
|
||||
return row.story.title
|
||||
}
|
||||
return "RECORD DELETED"
|
||||
},
|
||||
id: "story",
|
||||
header: "Story"
|
||||
},
|
||||
{
|
||||
accessorFn: row => {
|
||||
if (row.pub) {
|
||||
return row.pub.title
|
||||
}
|
||||
return "RECORD DELETED"
|
||||
},
|
||||
id: "pub",
|
||||
header: "Publication"
|
||||
},
|
||||
{
|
||||
accessorFn: row => new Date(row.submitted),
|
||||
id: "submitted",
|
||||
|
@ -57,26 +77,6 @@ export const columns: ColumnDef<SubComplete>[] = [
|
|||
id: "response",
|
||||
header: "Response"
|
||||
},
|
||||
{
|
||||
accessorFn: row => {
|
||||
if (row.pub) {
|
||||
return row.pub.title
|
||||
}
|
||||
return "RECORD DELETED"
|
||||
},
|
||||
id: "pub",
|
||||
header: "Publication"
|
||||
},
|
||||
{
|
||||
accessorFn: row => {
|
||||
if (row.story) {
|
||||
return row.story.title
|
||||
}
|
||||
return "RECORD DELETED"
|
||||
},
|
||||
id: "story",
|
||||
header: "Story"
|
||||
},
|
||||
|
||||
]
|
||||
|
||||
|
|
|
@ -959,14 +959,6 @@ body {
|
|||
width: 100vw;
|
||||
}
|
||||
|
||||
.w-8 {
|
||||
width: 2rem;
|
||||
}
|
||||
|
||||
.w-16 {
|
||||
width: 4rem;
|
||||
}
|
||||
|
||||
.min-w-\[8rem\] {
|
||||
min-width: 8rem;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue