Compare commits

..

No commits in common. "f67909c8e716ecf1934e918cb07c0687507a791e" and "24fb9feead2af236e4629822e13023608ff8f592" have entirely different histories.

3 changed files with 7 additions and 3 deletions

View file

@ -16,9 +16,13 @@
width: 100%;
height: 100%;
}
.hidden {
display: none;
}
</style>
<div class="main-container">
<div class="main-container" class:hidden={ !$showChannelView }>
<ChannelTopBar channel={ channel } />
<Messages channelId="{ channel.id }" />
<MessageInput channel={ channel } />

View file

@ -29,7 +29,7 @@
{#if $showSidebar}
<Sidebar />
{/if}
{#if !($smallViewport && $showSidebar) && $showChannelView}
{#if !($smallViewport && $showSidebar)}
<ChannelView channel={$selectedChannel} />
{/if}
</div>

View file

@ -114,7 +114,7 @@ export default {
this.reconnectDelay *= 2;
}
this.reconnectTimeout = setTimeout(() => {
this.init(token);
this.init();
}, this.reconnectDelay);
}