
{#if globalvars.server.url == ''}
    <Server/>
{:else}
    <Login/>
{/if}

<script>
    import Server from "./Server.svelte";
    import Login from "./Login.svelte";
    import {globals} from "$lib/stores.js";

    let globalvars;

    globals.subscribe(value => {
        globalvars = value;
    });
</script>