diff --git a/shared/js/events.ts b/shared/js/events.ts index 8d2350fc..6af8c8ef 100644 --- a/shared/js/events.ts +++ b/shared/js/events.ts @@ -284,7 +284,7 @@ export class Registry extends Cha } getStatusIcon() : ClientIcon { - if (this.properties.client_type_exact == ClientType.CLIENT_QUERY) { + if (this.properties.client_type == ClientType.CLIENT_QUERY) { return ClientIcon.ServerQuery; } else if (this.properties.client_away) { return ClientIcon.Away; diff --git a/shared/js/ui/frames/side/ClientInfoRenderer.tsx b/shared/js/ui/frames/side/ClientInfoRenderer.tsx index 354fc110..3f13c544 100644 --- a/shared/js/ui/frames/side/ClientInfoRenderer.tsx +++ b/shared/js/ui/frames/side/ClientInfoRenderer.tsx @@ -436,6 +436,24 @@ const ServerGroupRenderer = () => { ); }; +const ConnectedClientInfoBlock = () => { + const client = useContext(ClientContext); + if(client.type === "query" || client.type === "none") { + return null; + } + + return ( + + + + + + + + + ); +} + const ClientInfoProvider = () => { const events = useContext(EventsContext); @@ -468,12 +486,7 @@ const ClientInfoProvider = () => {
- - - - - - +