Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Refetch remote branches when changing peer
Sebastian Martinez committed 4 years ago
commit cca38c8e2707ce7197b1b5720ca7b47425a5d0e9
parent a3ab863a06599c32f80571fdbb174b105c00fd78
1 file changed +2 -2
modified src/base/projects/View.svelte
@@ -15,7 +15,7 @@
  export let peer: string | null = null;
  export let config: Config;

-
  const getProject = async (): Promise<proj.Source> => {
+
  const getProject = async (peer: string | null): Promise<proj.Source> => {
    const profile = profileName ? await Profile.get(profileName, ProfileType.Project, config) : null;
    const seed = profile ? profile.seed : seedHost ? await Seed.lookup(seedHost, config) : null;

@@ -71,7 +71,7 @@
</style>

<main>
-
  {#await getProject()}
+
  {#await getProject(peer)}
    <header>
      <Loading center />
    </header>