Use splitter for chat
This commit is contained in:
parent
0f231e2ecf
commit
4db6215aec
2 changed files with 8 additions and 4 deletions
|
|
@ -6,9 +6,14 @@
|
|||
|
||||
<Button OnClick="StartThread">New Thread</Button>
|
||||
|
||||
<ChatList Threads="_threads" />
|
||||
|
||||
<ChatThread Id="_currentThreadId" />
|
||||
<SplitPane>
|
||||
<Pane>
|
||||
<ChatList Threads="_threads" />
|
||||
</Pane>
|
||||
<Pane>
|
||||
<ChatThread Id="_currentThreadId" />
|
||||
</Pane>
|
||||
</SplitPane>
|
||||
|
||||
@code {
|
||||
IEnumerable<SDK.Models.ChatThread> _threads = [];
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
@using System.Collections.Specialized
|
||||
@using LANCommander.SDK
|
||||
@using LANCommander.SDK.Services
|
||||
@using Microsoft.AspNetCore.Components.Web.Virtualization
|
||||
@inject ChatClient ChatClient
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue