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