Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Hide edit button in issues when not authenticated
Sebastian Martinez committed 2 years ago
commit 8e8c6981d9c3165a64211534678c236d6fc4045b
parent 1add6958cb8a97fef6974ab1c9bc5ed90c52ae9a
2 files changed +2 -2
modified src/views/projects/Cob/CobHeader.svelte
@@ -57,6 +57,7 @@
  .description {
    font-size: var(--font-size-small);
    margin-top: 1rem;
+
    word-break: break-word;
  }
  .edit-buttons {
    display: flex;
modified src/views/projects/Issue.svelte
@@ -492,8 +492,7 @@
                  baseUrl,
                  project.head,
                )} />
-
              <!-- TODO: Remove if statement once `radicle-httpd` fixes embed editing -->
-
              {#if issue.discussion[0].embeds.length === 0}
+
              {#if $authenticatedLocal(baseUrl.hostname)}
                <IconButton
                  title="edit description"
                  on:click={() => (editingIssueDescription = true)}>