diff --git a/panel/src/components/players/BansSection.tsx b/panel/src/components/players/BansSection.tsx index 0ae8e06..97462f1 100644 --- a/panel/src/components/players/BansSection.tsx +++ b/panel/src/components/players/BansSection.tsx @@ -195,33 +195,30 @@ export function BansSection({ name }: { name: string }) {
{showSearch && } -
)) )} - + {needFooter && ( api.accessPlayers(name), [name]); const [updatedAt, setUpdatedAt] = useState(null); @@ -73,6 +73,7 @@ export function OnlineSection({ name }: { name: string }) { icon={} title={t("access_online_title")} count={!loading && !error ? (max > 0 ? `${online} / ${max}` : online) : undefined} + defaultOpen={defaultOpen} actions={ )} - + ); }) )} - + {needFooter && ( api.accessWhitelistList(name), @@ -89,6 +89,7 @@ export function WhitelistSection({ name }: { name: string }) { icon={} title={t("access_whitelist_title")} count={!loading && !error ? players.length : undefined} + defaultOpen={defaultOpen} actions={ )} - + )) )} - + {needFooter && (