Radish alpha
r
Radicle desktop app
Radicle
Git (anonymous pull)
Log in to clone via SSH
Disable "New" issue button on issue creation view
Rūdolfs Ošiņš committed 1 year ago
commit 15e2935ceec6600a693fac09ded1f9752ed2c8d5
parent 96b422bdaca2555344d2eecce01a46a5f4552438
1 file changed +3 -0
modified src/components/IssueSecondColumn.svelte
@@ -8,6 +8,8 @@
  import Icon from "./Icon.svelte";
  import OutlineButton from "./OutlineButton.svelte";

+
  const activeRouteStore = router.activeRouteStore;
+

  interface Props {
    repo: RepoInfo;
    selectedIssueId?: string;
@@ -36,6 +38,7 @@

  <OutlineButton
    variant="ghost"
+
    disabled={$activeRouteStore.resource === "repo.createIssue"}
    onclick={() => {
      void router.push({
        resource: "repo.createIssue",