From cdd4c0b0748d6aa156128f41a715de68dbbf23b9 Mon Sep 17 00:00:00 2001
From: /nithya <nithya.s@matriotsolutions.com>
Date: Mon, 29 Mar 2021 11:23:01 +0530
Subject: [PATCH] TMSS-228

Fixed Action column Issue
---
 SAS/TMSS/frontend/tmss_webapp/src/components/ViewTable.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/SAS/TMSS/frontend/tmss_webapp/src/components/ViewTable.js b/SAS/TMSS/frontend/tmss_webapp/src/components/ViewTable.js
index b0202b05cf3..306e5701e56 100644
--- a/SAS/TMSS/frontend/tmss_webapp/src/components/ViewTable.js
+++ b/SAS/TMSS/frontend/tmss_webapp/src/components/ViewTable.js
@@ -966,11 +966,11 @@ function ViewTable(props) {
     columns.push({
       Header: 'Action',
       id: 'Action',
-      accessor: props.keyaccessor,
+     // accessor: props.keyaccessor,
       Cell: props => <button className='p-link' onClick={navigateTo(props)} ><i className="fa fa-eye" style={{ cursor: 'pointer' }}></i></button>,
       disableFilters: true,
       disableSortBy: true,
-      isVisible: defaultdataheader.includes(props.keyaccessor),
+      isVisible: true//defaultdataheader.includes(props.keyaccessor),
     })
   }
 
-- 
GitLab