diff --git a/src/lib/components/ui/sidebar/Sidebar.svelte b/src/lib/components/ui/sidebar/Sidebar.svelte index c64da021..ffaf439f 100644 --- a/src/lib/components/ui/sidebar/Sidebar.svelte +++ b/src/lib/components/ui/sidebar/Sidebar.svelte @@ -18,7 +18,7 @@ import { flip } from 'svelte/animate' import { expoOut } from 'svelte/easing' import { Button } from 'mono-svelte' - import { DEFAULT_INSTANCE_URL } from '$lib/instance.js' + import { DEFAULT_INSTANCE_URL, LINKED_INSTANCE_URL } from '$lib/instance.js' export let route = '' @@ -91,9 +91,11 @@ Sign Up - - - Change instance - + {#if LINKED_INSTANCE_URL === undefined} + + + Change instance + + {/if} {/if} diff --git a/src/routes/accounts/+page.svelte b/src/routes/accounts/+page.svelte index b74838fe..d776d80c 100644 --- a/src/routes/accounts/+page.svelte +++ b/src/routes/accounts/+page.svelte @@ -158,24 +158,25 @@ Sign up -
- - -
+ {#if LINKED_INSTANCE_URL === undefined} +
+ + +
+ {/if} {:else}