Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Make SeedButton blue again in read-only mode
Sebastian Martinez committed 2 years ago
commit 7f2f03efc3b6d9af32df21a16ec65c8a101b2112
parent 8e2090070d084e454e58823c55ef0ba4d7b1f552
2 files changed +3 -11
modified src/lib/httpd.ts
@@ -207,10 +207,6 @@ function pollSession() {
}

export async function initialize() {
-
  if (!get(experimental)) {
-
    return;
-
  }
-

  // Sync session state changes with other open tabs and windows.
  addEventListener("storage", event => {
    if (
modified src/views/projects/Header/SeedButton.svelte
@@ -103,18 +103,14 @@
        toggle();
      }
    }}
-
    variant={!$experimental
-
      ? "outline"
-
      : seeding
-
        ? "secondary-toggle-on"
-
        : "secondary-toggle-off"}>
+
    variant={seeding ? "secondary-toggle-on" : "secondary-toggle-off"}>
    <IconSmall name="network" />
    <span class="title-counter">
      {seeding ? "Seeding" : "Seed"}
      <span
        class="counter"
-
        class:seeding={$experimental ? seeding : false}
-
        class:not-seeding={$experimental ? !seeding : false}
+
        class:seeding
+
        class:not-seeding={!seeding}
        class:disabled={$experimental ? !canEditSeeding : false}
        style:font-weight="var(--font-weight-regular)">
        {seedCount}