|
@ -14,7 +14,6 @@ |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<script lang="ts"> |
|
|
<script lang="ts"> |
|
|
import { ChatOpen } from "./components/Alert/content"; |
|
|
|
|
|
import { onMount } from "svelte"; |
|
|
import { onMount } from "svelte"; |
|
|
import Navbar from "./components/NavBar.svelte"; |
|
|
import Navbar from "./components/NavBar.svelte"; |
|
|
import Modal from "svelte-simple-modal"; |
|
|
import Modal from "svelte-simple-modal"; |
|
@ -221,7 +220,6 @@ |
|
|
on:click={() => setAppState(APPSTATE.CHANNELS)} |
|
|
on:click={() => setAppState(APPSTATE.CHANNELS)} |
|
|
on:keydown={() => setAppState(APPSTATE.CHANNELS)} |
|
|
on:keydown={() => setAppState(APPSTATE.CHANNELS)} |
|
|
> |
|
|
> |
|
|
{#if $ChatOpen} |
|
|
|
|
|
<Chat |
|
|
<Chat |
|
|
channel={selectedChannel} |
|
|
channel={selectedChannel} |
|
|
on:view-profile={openIdProfile} |
|
|
on:view-profile={openIdProfile} |
|
@ -229,7 +227,6 @@ |
|
|
on:invite-to-game={pong.inviteToGame} |
|
|
on:invite-to-game={pong.inviteToGame} |
|
|
on:send-message={openDirectChat} |
|
|
on:send-message={openDirectChat} |
|
|
/> |
|
|
/> |
|
|
{/if} |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
{/if} |
|
|
{/if} |
|
|
{#if appState.includes(APPSTATE.CHANNELS)} |
|
|
{#if appState.includes(APPSTATE.CHANNELS)} |
|
|