Remove inline map count labels and hide archive source badges

This commit is contained in:
2026-04-05 20:59:28 +02:00
parent bbd57c808b
commit d3f564d66f
5 changed files with 11 additions and 44 deletions

View File

@@ -7,7 +7,7 @@
*/
import { useState } from "react";
import { Badge, Text, makeStyles, tokens } from "@fluentui/react-components";
import { Text, makeStyles, tokens } from "@fluentui/react-components";
import { BanTable } from "../components/BanTable";
import { BanTrendChart } from "../components/BanTrendChart";
import { ChartStateWrapper } from "../components/ChartStateWrapper";
@@ -95,9 +95,6 @@ export function DashboardPage(): React.JSX.Element {
originFilter={originFilter}
onOriginFilterChange={setOriginFilter}
/>
<Badge appearance="filled" color={source === "archive" ? "brand" : "success"}>
{source === "archive" ? "Archive (BanGUI DB)" : "Live (fail2ban DB)"}
</Badge>
</div>
{/* ------------------------------------------------------------------ */}