diff --git a/src/components/ServiceProject/ServiceProjectBranch/ServiceBranch.jsx b/src/components/ServiceProject/ServiceProjectBranch/ServiceBranch.jsx index 61a4c011..4e9c6d6c 100644 --- a/src/components/ServiceProject/ServiceProjectBranch/ServiceBranch.jsx +++ b/src/components/ServiceProject/ServiceProjectBranch/ServiceBranch.jsx @@ -175,13 +175,14 @@ const ServiceBranch = () => { data.data.map((branch) => ( { - if (!e.target.closest(".dropdown") && !e.target.closest(".bx-show")) { + if (!showInactive && !e.target.closest(".dropdown") && !e.target.closest(".bx-show")) { setViewRequest({ branchId: branch.id, view: true }); } }} > + {columns.map((col) => ( {col.getValue(branch)} @@ -190,12 +191,12 @@ const ServiceBranch = () => {
{/* View Icon */} - setViewRequest({ branchId: branch.id, view: true }) } - > + > */}