Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Improve Profile Edit and Transfer buttons
Sebastian Martinez committed 3 years ago
commit 0ba0feedf12ff7c0646edecfd18736049cd30e90
parent 34f575ad98117aa246b9d56c1826a0c8a43336e1
1 file changed +1 -3
modified src/base/registrations/View.svelte
@@ -184,12 +184,10 @@
      <button
        style="min-width: 60px;"
        class="small primary" class:active={editable} disabled={!isOwner(state.owner)}
+
        title={!isOwner(state.owner) ? "Only owner can edit this profile" : ""}
        on:click={() => editable = !editable}>
          Edit
      </button>
-
      <button class="small secondary" disabled>
-
        Transfer
-
      </button>
    </header>
    <Form {config} {editable} {fields} on:save={onSave} on:cancel={() => editable = false} />
  </main>