Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Toggle peer and branch dropdown
Sebastian Martinez committed 4 years ago
commit 9a91e536198043a85eb162f253a73fa9c73622a9
parent aad01f74b49c528eb12fd8b1488d722a046fb512
2 files changed +3 -1
modified src/base/projects/Header.svelte
@@ -33,10 +33,12 @@
  };

  const updatePeer = (newPeer: string) => {
+
    dropdownState.peer = false;
    dispatch("routeParamsChange", { content, revision, peer: newPeer, path });
  };

  const updateRevision = (newRevision: string) => {
+
    dropdownState.branch = false;
    dispatch("routeParamsChange", { content, revision: newRevision, peer, path });
  };

modified src/base/projects/History.svelte
@@ -16,7 +16,7 @@

  // Bind content to commit history to trigger updates in parent components.
  $: [revision_,] = splitPrefixFromPath(locator, branches, project.head);
-
  $: content = content ?? ProjectContent.History;
+
  $: content = ProjectContent.History;
  $: revision = revision_;

  const navigateHistory = (revision: string, content?: ProjectContent) => {