- adjust col widths for remind_at and due_date (cosmetic)
Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
@@ -128,12 +128,12 @@ function TaskListComponent({
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
// This is a hack to force the page to change if the query params change (partssublet for example)
|
// This is a hack to force the page to change if the query params change (partssublet for example)
|
||||||
}, [location]);
|
}, [location]);
|
||||||
|
|
||||||
columns.push({
|
columns.push({
|
||||||
title: t("tasks.fields.created_at"),
|
title: t("tasks.fields.created_at"),
|
||||||
dataIndex: "created_at",
|
dataIndex: "created_at",
|
||||||
key: "created_at",
|
key: "created_at",
|
||||||
width: "8%",
|
width: "10%",
|
||||||
defaultSortOrder: "descend",
|
defaultSortOrder: "descend",
|
||||||
sorter: true,
|
sorter: true,
|
||||||
sortOrder: sortcolumn === "created_at" && sortorder,
|
sortOrder: sortcolumn === "created_at" && sortorder,
|
||||||
@@ -198,7 +198,7 @@ function TaskListComponent({
|
|||||||
title: t("tasks.fields.bill"),
|
title: t("tasks.fields.bill"),
|
||||||
dataIndex: ["bill", "id"],
|
dataIndex: ["bill", "id"],
|
||||||
key: "bill.id",
|
key: "bill.id",
|
||||||
width: "8%",
|
width: "10%",
|
||||||
render: (text, record) =>
|
render: (text, record) =>
|
||||||
record.bill ? (
|
record.bill ? (
|
||||||
<Link to={`/manage/jobs/${record.job.id}?billid=${record.bill.id}&tab=partssublet`}>
|
<Link to={`/manage/jobs/${record.job.id}?billid=${record.bill.id}&tab=partssublet`}>
|
||||||
@@ -232,7 +232,7 @@ function TaskListComponent({
|
|||||||
key: "remind_at",
|
key: "remind_at",
|
||||||
sorter: true,
|
sorter: true,
|
||||||
sortOrder: sortcolumn === "remind_at" && sortorder,
|
sortOrder: sortcolumn === "remind_at" && sortorder,
|
||||||
width: "8%",
|
width: "10%",
|
||||||
render: (text, record) => <RemindAtRecord remindAt={record.remind_at} />
|
render: (text, record) => <RemindAtRecord remindAt={record.remind_at} />
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user