Skip to content

Commit 0d1d281

Browse files
committed
disable reordering for projects
1 parent 217d4b4 commit 0d1d281

1 file changed

Lines changed: 13 additions & 8 deletions

File tree

src/components/Project/table.jsx

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ export default async function Table(props) {
8282
if (col === "Approval" && !isSuperAdmin) {
8383
return null;
8484
}
85+
if (col === "Reorder") {
86+
return null;
87+
}
8588
return (
8689
<TableHead key={idx} className="w-[100px] text-primary font-bold">
8790
{col}
@@ -121,14 +124,16 @@ export default async function Table(props) {
121124
<DeleteProjectBtn id={rest.id} />
122125
</TableCell>
123126

124-
{!isSuperAdmin && (<TableCell>
125-
<ArrowButtons
126-
projectId={rest.id}
127-
club={club}
128-
isFirst={index === 0}
129-
isLast={index === UserData.length - 1}
130-
/>
131-
</TableCell>)}
127+
{
128+
// !isSuperAdmin && (<TableCell>
129+
// <ArrowButtons
130+
// projectId={rest.id}
131+
// club={club}
132+
// isFirst={index === 0}
133+
// isLast={index === UserData.length - 1}
134+
// />
135+
// </TableCell>)
136+
}
132137
</TableRow>
133138
))}
134139
</TableBody>

0 commit comments

Comments
 (0)