diff --git a/src/Components/Tasks/TaskModal.tsx b/src/Components/Tasks/TaskModal.tsx index ad57ec9..031121f 100644 --- a/src/Components/Tasks/TaskModal.tsx +++ b/src/Components/Tasks/TaskModal.tsx @@ -209,7 +209,7 @@ const TaskModal = ({ onCancel={handleCancel} footer={null} open={modalOpen} - width={700} + width={800} maskClosable={true} // style={{ position: "fixed", right: 0, top: 0, bottom: 0, height: 1000 }} > diff --git a/src/Components/Tasks/TaskTable.tsx b/src/Components/Tasks/TaskTable.tsx index d713e49..5b7471c 100644 --- a/src/Components/Tasks/TaskTable.tsx +++ b/src/Components/Tasks/TaskTable.tsx @@ -18,6 +18,9 @@ import tt from "../../assets/tticon.svg"; import tagIcon from "../../assets/tagIcon.png"; // @ts-ignore import tgIcon from "../../assets/telegram.png"; +// +import webIcon from "../../assets/web.png"; +// import { isMobile, role } from "../../App"; import { theme } from "antd"; @@ -142,7 +145,6 @@ const TaskTable = ({ // title: "", // dataIndex: "no", // width: isMobile ? "1%" : "3.5%", - // fixed: isMobile ? "left" : false, // key: "1", // render: (text: any, record: TTask) => ( //
// // + // ) // )} //
// ), @@ -327,31 +330,43 @@ const TaskTable = ({ { title: "Created at", dataIndex: "created", - width: "15%", + width: "10%", key: "10", // responsive: ["xxl"], ellipsis: { showTitle: false, }, - render: (note: string, record: TTask) => ( + render: (note: string) => ( + + {note} + + ), + }, + { + title: "Source", + dataIndex: "source", + width: "6%", + key: "1", + ellipsis: { + showTitle: false, + }, + render: (text: any, record: TTask) => (
- - {note} - -
- {record?.via_telegram && ( - - - - )} -
+ {record?.via_telegram ? ( + + + + ) : ( + + + + )}
), }, diff --git a/src/assets/internet-web.png b/src/assets/internet-web.png new file mode 100644 index 0000000..3d33c25 Binary files /dev/null and b/src/assets/internet-web.png differ diff --git a/src/assets/web.png b/src/assets/web.png new file mode 100644 index 0000000..206a193 Binary files /dev/null and b/src/assets/web.png differ