Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Add Loader to project view
Sebastian Martinez committed 3 years ago
commit e675e9163878798ea0f95349ddb0f2b1c31d18de
parent d49130163d04eed45fbf48d5f572e38d11c06654
1 file changed +4 -1
modified src/base/projects/Project.svelte
@@ -2,6 +2,7 @@
  import type { Config } from '@app/config';
  import * as proj from '@app/project';
  import Placeholder from '@app/Placeholder.svelte';
+
  import Loading from '@app/Loading.svelte';
  import { formatProfile, formatSeedId, setOpenGraphMetaTag } from '@app/utils';
  import { browserStore } from '@app/project';
  import { fetchCommits } from '@app/commit';
@@ -64,7 +65,9 @@
<ProjectMeta noDescription={content !== proj.ProjectContent.Tree} {project} {peer} />

{#if revision}
-
  {#await project.getRoot(revision) then { tree, commit }}
+
  {#await project.getRoot(revision)}
+
    <Loading center />
+
  {:then { tree, commit }}
    <Header {tree} {commit} {browserStore} {project} noAnchor />

    {#if content == proj.ProjectContent.Tree}