pramod_Task-#399 : Added Access Permission For 'Directory User' Role #160

Merged
pramod.mahajan merged 19 commits from pramod_Task-#399 into Feature_Directory 2025-05-29 17:49:56 +00:00
Showing only changes of commit c00a0ecff1 - Show all commits

View File

@ -1,14 +1,12 @@
import React from 'react' import React from "react";
import IconButton from '../../components/common/IconButton'; import IconButton from "../../components/common/IconButton";
const DirectoryListTableHeader = ({ children }) => {
const DirectoryListTableHeader = ( {children, IsActive} ) =>
{
return ( return (
<div className="table-responsive text-nowrap py-2"> <div className="table-responsive text-nowrap py-2">
<table className="table px-2"> <table className="table px-2">
<thead> <thead>
<tr> <tr>
<th colSpan={2}> <th colSpan={2}>
<div className="d-flex align-items-center gap-1"> <div className="d-flex align-items-center gap-1">
<span>Name</span> <span>Name</span>
@ -25,13 +23,10 @@ const DirectoryListTableHeader = ( {children, IsActive} ) =>
</div> </div>
</th> </th>
<th colSpan={2} className="mx-2 ps-20"> <th colSpan={2} className="mx-2 ps-20">
Organization
Organization
</th> </th>
<th className="mx-2">Category</th> <th className="mx-2">Category</th>
{IsActive && <th>Action</th>} <th>Action</th>
</tr> </tr>
</thead> </thead>
<tbody className="table-border-bottom-0 overflow-auto"> <tbody className="table-border-bottom-0 overflow-auto">