mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-31 01:00:47 +08:00
Improve Profile Edit and Transfer buttons
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user