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