Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Close Revision selector in PatchTabBar after select
Sebastian Martinez committed 3 years ago
commit e7a7baca5eb273f1851851dd481666ed1b524c7c
parent ab59f11727093ff195b51c8208991a54abc951a5
1 file changed +2 -1
modified src/base/projects/Patch/PatchTabBar.svelte
@@ -2,7 +2,7 @@
  import type { ToggleButtonOption } from "@app/ToggleButton.svelte";

  import Dropdown from "@app/Dropdown.svelte";
-
  import Floating from "@app/Floating.svelte";
+
  import Floating, { closeFocused } from "@app/Floating.svelte";
  import ToggleButton from "@app/ToggleButton.svelte";

  import type { Revision } from "@app/patch";
@@ -30,6 +30,7 @@
  }));

  const onRevisionChange = ({ detail }: { detail: string }) => {
+
    closeFocused();
    dispatch("revisionChanged", detail);
  };