Removed useless info

This commit is contained in:
Logan Cusano
2025-05-26 03:09:29 -04:00
parent f1d8012798
commit 8b825007a7

View File

@@ -266,15 +266,11 @@ const BotsManagement: React.FC<BotsManagementProps> = ({ token, logoutUser }) =>
<TableHeader> <TableHeader>
<TableRow> <TableRow>
<TableHead>Client ID</TableHead> <TableHead>Client ID</TableHead>
<TableHead>Assigned Discord ID (Name)</TableHead>
</TableRow> </TableRow>
</TableHeader> </TableHeader>
<TableBody> <TableBody>
{bots.length > 0 ? ( {bots.length > 0 ? (
bots.map((botClientId) => { bots.map((botClientId) => {
const assignedSystem = systems.find(sys => sys.avail_on_nodes.includes(botClientId));
const assignedDiscordBot = discordIds.find(did => did.name === assignedSystem?.name);
return ( return (
<TableRow key={botClientId}> <TableRow key={botClientId}>
<TableCell className="font-medium"> <TableCell className="font-medium">
@@ -282,9 +278,6 @@ const BotsManagement: React.FC<BotsManagementProps> = ({ token, logoutUser }) =>
{botClientId} {botClientId}
</Link> </Link>
</TableCell> </TableCell>
<TableCell>
{assignedSystem ? `${assignedSystem.name} (System)` : "N/A or requires different mapping"}
</TableCell>
</TableRow> </TableRow>
); );
}) })