Comment out additional unused features
This commit is contained in:
1 parent
6caea8aef5
commit
85ae1826f5
1 file changed
+22
-19
@@ -74,7 +74,8 @@ const TeamPanel = () => {
|
|||||||
{ id: 1, name: "NAME" },
|
{ id: 1, name: "NAME" },
|
||||||
{ id: 2, name: "EMAIL" },
|
{ id: 2, name: "EMAIL" },
|
||||||
{ id: 3, name: "ROLE" },
|
{ id: 3, name: "ROLE" },
|
||||||
{ id: 4, name: "ACTION" },
|
// FEATURE STILL TO BE IMPLEMENTED
|
||||||
|
// { id: 4, name: "ACTION" },
|
||||||
],
|
],
|
||||||
rows: team?.map((member, idx) => {
|
rows: team?.map((member, idx) => {
|
||||||
return {
|
return {
|
||||||
@@ -101,22 +102,23 @@ const TeamPanel = () => {
|
|||||||
id: idx + 2,
|
id: idx + 2,
|
||||||
data: member.role.includes("admin") ? "Administrator" : "Member",
|
data: member.role.includes("admin") ? "Administrator" : "Member",
|
||||||
},
|
},
|
||||||
{
|
// FEATURE STILL TO BE IMPLEMENTED
|
||||||
// TODO - Add delete onClick
|
// {
|
||||||
id: idx + 3,
|
// // TODO - Add delete onClick
|
||||||
data: (
|
// id: idx + 3,
|
||||||
<IconButton
|
// data: (
|
||||||
aria-label="remove member"
|
// <IconButton
|
||||||
sx={{
|
// aria-label="remove member"
|
||||||
"&:focus": {
|
// sx={{
|
||||||
outline: "none",
|
// "&:focus": {
|
||||||
},
|
// outline: "none",
|
||||||
}}
|
// },
|
||||||
>
|
// }}
|
||||||
<Remove />
|
// >
|
||||||
</IconButton>
|
// <Remove />
|
||||||
),
|
// </IconButton>
|
||||||
},
|
// ),
|
||||||
|
// },
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
@@ -197,7 +199,8 @@ const TeamPanel = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<TabPanel value="team">
|
<TabPanel value="team">
|
||||||
<Stack component="form">
|
{/* FEATURE STILL TO BE IMPLEMENTED */}
|
||||||
|
{/* <Stack component="form">
|
||||||
<Box sx={{ alignSelf: "flex-start" }}>
|
<Box sx={{ alignSelf: "flex-start" }}>
|
||||||
<Typography component="h1">Organization name</Typography>
|
<Typography component="h1">Organization name</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
@@ -242,7 +245,7 @@ const TeamPanel = () => {
|
|||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
</Stack>
|
</Stack>
|
||||||
<Divider aria-hidden="true" sx={{ marginY: theme.spacing(4) }} />
|
<Divider aria-hidden="true" sx={{ marginY: theme.spacing(4) }} /> */}
|
||||||
<Stack
|
<Stack
|
||||||
component="form"
|
component="form"
|
||||||
noValidate
|
noValidate
|
||||||
|
|||||||
Reference in new issue
Block a user