make antispam rule channel list align properly
This commit is contained in:
parent
b077943e41
commit
50eda695ab
1 changed files with 46 additions and 44 deletions
|
@ -595,6 +595,7 @@ const ServerDashboard: FunctionComponent = () => {
|
||||||
If left empty, it will run in all channels.
|
If left empty, it will run in all channels.
|
||||||
</H4>
|
</H4>
|
||||||
<UserListTypeContainer>
|
<UserListTypeContainer>
|
||||||
|
<div style={{ display: 'flex', flexWrap: 'wrap' }}>
|
||||||
{
|
{
|
||||||
channels.map(cid => {
|
channels.map(cid => {
|
||||||
const channel: Channel = serverInfo.channels.find(c => c.id == cid && c.type == 'TEXT')
|
const channel: Channel = serverInfo.channels.find(c => c.id == cid && c.type == 'TEXT')
|
||||||
|
@ -642,6 +643,7 @@ const ServerDashboard: FunctionComponent = () => {
|
||||||
setChannelsChanged(true);
|
setChannelsChanged(true);
|
||||||
}
|
}
|
||||||
}} />
|
}} />
|
||||||
|
</div>
|
||||||
</UserListTypeContainer>
|
</UserListTypeContainer>
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in a new issue