From 444e32a6d4cd8caf3d80480cbc53e128a45336af Mon Sep 17 00:00:00 2001 From: Rahul-538 Date: Wed, 14 Aug 2024 14:46:21 +0530 Subject: [PATCH 1/2] Removed access to members tab --- src/containers/Organization/Project/Project.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/containers/Organization/Project/Project.jsx b/src/containers/Organization/Project/Project.jsx index 43acdd2b..9ec53e5f 100644 --- a/src/containers/Organization/Project/Project.jsx +++ b/src/containers/Organization/Project/Project.jsx @@ -379,7 +379,11 @@ const Project = () => { > - + {/* */} + {roles.filter((role) => role.value === userData?.role)[0] + ?.canAddMembers && ( + + )} {roles.filter((role) => role.value === userData?.role)[0] ?.ProjectReport && ( From 348e8c43ca09f1835581f62e7c6f7b9f6d87386e Mon Sep 17 00:00:00 2001 From: Rahul-538 Date: Thu, 5 Sep 2024 11:03:09 +0530 Subject: [PATCH 2/2] Added ETA & task id tabs --- src/config/tableColumns.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/config/tableColumns.js b/src/config/tableColumns.js index bafa9d73..864e3e83 100644 --- a/src/config/tableColumns.js +++ b/src/config/tableColumns.js @@ -161,6 +161,10 @@ export const adminMemberListColumns = [ ]; export const videoTaskListColumns = [ + { + name:"id", + label:"Task Id" + }, { name: "task_type", label: "Task Type", @@ -174,6 +178,15 @@ export const videoTaskListColumns = [ }, }, }, + { + name: "eta", + label: "ETA", + options: { + customBodyRender: (value) => { + return {moment(value).format("DD/MM/YYYY HH:mm:ss")}; + }, + }, + }, { name: "created_at", label: "Created At",