mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 17:59:29 +02:00
Disables 'change password' button until both fields are filled (#1591)
MR !1405
This commit is contained in:
parent
1512b0ede3
commit
474f16674c
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@
|
|||
<password-input field-id="new-password-field" required v-model="new_password" />
|
||||
</div>
|
||||
<dangerous-button
|
||||
:class="['ui', {'loading': isLoading}, 'warning', 'button']"
|
||||
:class="['ui', {'loading': isLoading}, {disabled: !new_password || !old_password}, 'warning', 'button']"
|
||||
:action="submitPassword">
|
||||
<translate translate-context="Content/Settings/Button.Label">Change password</translate>
|
||||
<p slot="modal-header"><translate translate-context="Popup/Settings/Title">Change your password?</translate></p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue