{parseEnsLabel(profile.name, config) ?? address}
+ {#if profile.address === org.owner}
+ org
+ {/if}
{#await org.getMembers(config)}
@@ -224,7 +234,7 @@
{:then projects}
{#each projects as project}
{#if profile.url}
@@ -176,25 +183,28 @@
{/if}
- Name
-
- {#if profile.name}
- {profile.name}
- {:else}
- Not set
- {/if}
-
-
- {#await isAuthorized(org)}
-
- {:then authorized}
- {#if authorized}
-
+
+ {#if profile.address === org.address}
+
+ Name
+
+ {#if profile.name}
+ {profile.name}
+ {:else}
+ Not set
{/if}
- {/await}
-
+
+ {#await isAuthorized(org)}
+
+ {:then authorized}
+ {#if authorized}
+
+ {/if}
+ {/await}
+
+ {/if}
-
+
{/each}
{:catch err}
diff --git a/src/base/projects/View.svelte b/src/base/projects/View.svelte
index 045f81607..ef1d7a049 100644
--- a/src/base/projects/View.svelte
+++ b/src/base/projects/View.svelte
@@ -5,7 +5,7 @@
import Loading from '@app/Loading.svelte';
import Modal from '@app/Modal.svelte';
import Avatar from '@app/Avatar.svelte';
- import { Profile } from '@app/profile';
+ import { Org } from '@app/base/orgs/Org';
import Browser from './Browser.svelte';
@@ -16,13 +16,11 @@
export let path: string;
let projectRoot = proj.path({ urn, org, commit });
- let getProject = new Promise