mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-21 21:36:26 -08:00
mail-unlink: use emailpotentialremove
This commit is contained in:
parent
6b59732aa1
commit
4377052856
|
@ -131,7 +131,7 @@
|
||||||
<p>Change username</p>
|
<p>Change username</p>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button on:click={() => accOpts.emailChange(optPicker)}>
|
<button on:click={() => ($account.email ? accOpts.emailPotentialRemove : accOpts.emailChange)(optPicker)}>
|
||||||
<img src="/static/assets/icons/mail.svg" alt="change email">
|
<img src="/static/assets/icons/mail.svg" alt="change email">
|
||||||
<p>Change email{#if $account.email}<span class="monospaceText"><br />{$account.email}</span>{/if}</p>
|
<p>Change email{#if $account.email}<span class="monospaceText"><br />{$account.email}</span>{/if}</p>
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Reference in a new issue