Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix layout of member loading
Alexis Sellier committed 4 years ago
commit 41708ce87fc3e238c5717743e03cf55ac5e738c8
parent 41f8e27e9fffbd0493e959e3c5c1735d25fc26f9
1 file changed +6 -6
modified src/base/users/View.svelte
@@ -197,10 +197,10 @@
        {#if orgs.length > 0}
          <div class="members">
            {#each orgs as org}
-
              {#await Profile.get(org.address, ProfileType.Minimal, config)}
-
                <Loading small margins />
-
              {:then profile}
-
                <div class="member">
+
              <div class="member">
+
                {#await Profile.get(org.address, ProfileType.Minimal, config)}
+
                  <Loading small margins />
+
                {:then profile}
                  <div class="member-icon">
                    <Link to="/orgs/{profile.address}">
                      <Avatar source={profile.avatar ?? profile.address} address={profile.address} />
@@ -210,8 +210,8 @@
                    <Address address={profile.address} compact
                      resolve noBadge noAvatar {profile} {config} />
                  </div>
-
                </div>
-
              {/await}
+
                {/await}
+
              </div>
            {/each}
          </div>
        {/if}