diff --git a/src/routes/applications/index.svelte b/src/routes/applications/index.svelte index e13b3f240..801aba8c5 100644 --- a/src/routes/applications/index.svelte +++ b/src/routes/applications/index.svelte @@ -47,8 +47,8 @@ {:else}
- {#if $session.teamId === '0' && ownApplications.length > 0} -
Your Team's Applications
+ {#if $session.teamId === '0' && ownApplications.length > 0 && otherApplications.length > 0} +
Current Team
{/if}
{#each ownApplications as application} @@ -56,7 +56,7 @@ {/each}
{#if otherApplications.length > 0 && $session.teamId === '0'} -
Other Team's Applications
+
Other Team's
{#each otherApplications as application} diff --git a/src/routes/databases/index.svelte b/src/routes/databases/index.svelte index bb19b0ab8..554954e2f 100644 --- a/src/routes/databases/index.svelte +++ b/src/routes/databases/index.svelte @@ -52,8 +52,8 @@
{:else}
- {#if $session.teamId === '0' && ownDatabases.length > 0} -
Your Team's Databases
+ {#if $session.teamId === '0' && ownDatabases.length > 0 && otherDatabases.length > 0} +
Current Team
{/if}
{#each ownDatabases as database} @@ -90,7 +90,7 @@ {/each}
{#if otherDatabases.length > 0 && $session.teamId === '0'} -
Other Team's Databases
+
Other Team's
{:else}
- {#if $session.teamId === '0' && ownDestinations.length > 0} -
Your Team's Destinations
+ {#if $session.teamId === '0' && ownDestinations.length > 0 && otherDestinations.length > 0} +
Current Team
{/if}
{#each ownDestinations as destination} @@ -81,7 +81,7 @@
{#if otherDestinations.length > 0 && $session.teamId === '0'} -
Other Team's Destinations
+
Other Team's
{:else}