Compare commits
2 commits
24fb9feead
...
f67909c8e7
Author | SHA1 | Date | |
---|---|---|---|
|
f67909c8e7 | ||
|
25b1ba653c |
3 changed files with 3 additions and 7 deletions
|
@ -16,13 +16,9 @@
|
|||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="main-container" class:hidden={ !$showChannelView }>
|
||||
<div class="main-container">
|
||||
<ChannelTopBar channel={ channel } />
|
||||
<Messages channelId="{ channel.id }" />
|
||||
<MessageInput channel={ channel } />
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
{#if $showSidebar}
|
||||
<Sidebar />
|
||||
{/if}
|
||||
{#if !($smallViewport && $showSidebar)}
|
||||
{#if !($smallViewport && $showSidebar) && $showChannelView}
|
||||
<ChannelView channel={$selectedChannel} />
|
||||
{/if}
|
||||
</div>
|
||||
|
|
|
@ -114,7 +114,7 @@ export default {
|
|||
this.reconnectDelay *= 2;
|
||||
}
|
||||
this.reconnectTimeout = setTimeout(() => {
|
||||
this.init();
|
||||
this.init(token);
|
||||
}, this.reconnectDelay);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue