mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-22 04:21:44 +00:00
fix: changing password with wrong current one fails
do not break/overwrite the Submit button's `enabled` property binding Fixes #9465
This commit is contained in:
parent
0d369129d5
commit
6f9149428d
@ -145,7 +145,6 @@ Item {
|
|||||||
function onPasswordChanged(success: bool, errorMsg: string) {
|
function onPasswordChanged(success: bool, errorMsg: string) {
|
||||||
if (success) {
|
if (success) {
|
||||||
submitBtn.loading = false
|
submitBtn.loading = false
|
||||||
root.exit();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,7 @@ StatusModal {
|
|||||||
console.warn("TODO: Display error message when change password action failure! ")
|
console.warn("TODO: Display error message when change password action failure! ")
|
||||||
}
|
}
|
||||||
d.passwordProcessing = "";
|
d.passwordProcessing = "";
|
||||||
submitBtn.enabled = false;
|
submitBtn.loading = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
QtObject {
|
QtObject {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user