Release: fix portable runtime and updater
This commit is contained in:
1 parent
1ff935b727
commit
fb8fb69532
21 files changed
+252
-29
No files matched your search
@@ -4,6 +4,7 @@ import type { RpcMethodName } from '../lib/rpc';
|
||||
import { confirmDialog, promptDialog } from '../lib/dialog';
|
||||
import { EmptyRow } from './TrackRow';
|
||||
import { t, tf } from '../i18n';
|
||||
import { teamSpeakChannelDisplayName } from '../lib/teamspeak';
|
||||
|
||||
interface AdminClient {
|
||||
id: number;
|
||||
@@ -281,10 +282,17 @@ export function TeamSpeakAdmin() {
|
||||
}
|
||||
|
||||
function Channel({ channel, depth = 0 }: { channel: AdminChannel; depth?: number }) {
|
||||
const displayName = teamSpeakChannelDisplayName(channel.name);
|
||||
|
||||
return (
|
||||
<div className="ts-admin-channel" style={{ marginLeft: depth * 16 }}>
|
||||
<div className="ts-admin-channel-head">
|
||||
<strong>{channel.name}</strong>
|
||||
<strong
|
||||
className={displayName.spacer ? 'ts-admin-spacer' : undefined}
|
||||
title={channel.name}
|
||||
>
|
||||
{displayName.label}
|
||||
</strong>
|
||||
<span className="muted">#{channel.id}</span>
|
||||
<span className="ts-capacity">
|
||||
{channel.currentClients}/{channel.maxClients || '∞'}
|
||||
|
||||
Reference in new issue
Block a user