mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 12:49:37 +03:00
Fix/issue#2441 (#2443)
* fix the rendering issues related to More Info * update * update Chat Moderation Details component
This commit is contained in:
parent
35e6c69612
commit
f8a481ff70
1 changed files with 3 additions and 1 deletions
|
@ -25,6 +25,7 @@ export interface Client {
|
|||
userAgent: string;
|
||||
connectedAt: Date;
|
||||
geo: string;
|
||||
id: number;
|
||||
}
|
||||
|
||||
export interface Message {
|
||||
|
@ -156,7 +157,7 @@ export const ChatModerationDetailsModal: FC<ChatModerationDetailsModalProps> = (
|
|||
<Panel header="Currently Connected Clients" key="connected-clients">
|
||||
<Collapse accordion>
|
||||
{connectedClients.map(client => (
|
||||
<Panel header={formatUAstring(client.userAgent)} key={client.userAgent}>
|
||||
<Panel header={formatUAstring(client.userAgent)} key={client.id}>
|
||||
<ConnectedClient client={client} />
|
||||
</Panel>
|
||||
))}
|
||||
|
@ -169,6 +170,7 @@ export const ChatModerationDetailsModal: FC<ChatModerationDetailsModalProps> = (
|
|||
pagination={null}
|
||||
columns={chatMessageColumns}
|
||||
dataSource={messages}
|
||||
rowKey="id"
|
||||
/>
|
||||
</Panel>
|
||||
</Collapse>
|
||||
|
|
Loading…
Reference in a new issue