{activeTab === "accounts" && (
Account Administration
{
setOnlyShowActiveUsers(e.target.checked);
}}
name="activeOnlyChecked"
/>
}
label="Only Show Active Users"
/>
{
// user.deleted == onlyShowActiveUsers
if (onlyShowActiveUsers) return !user.deleted;
return true;
})}
loading={isLoading}
fields={fields}
// title="Administration"
onFilterChange={(e) => console.log("changed filter", e)}
dataItemActions={[]}
paginationSettings={{}}
type={DisplayItemsPropsType.TABLE}
showCheckboxes
showFilterControls={false}
bulkActions={[
(props) => (
cancelUsers(props.data)}
>
Cancel Account
),
(props) => (
activateUsers(props.data)}
>
Activate
),
]}
/>
)}
{activeTab === "settings" && (
)}
{activeTab === "integration" && (
Integration
)}