Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit bd4e2ab

Browse files
solve wrong message when updating profile (#7338)
Co-authored-by: Matin shafiei <matin@deriv.com>
1 parent 19b3dd8 commit bd4e2ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/javascript/app/pages/user/account/settings/personal_details.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ const PersonalDetails = (() => {
355355

356356
const setDetailsResponse = (response) => {
357357
// allow user to resubmit the form on error.
358-
const is_error = response.set_settings !== 1;
358+
const is_error = response.error;
359359
if (!is_error) {
360360
// to update tax information message for financial clients
361361
BinarySocket.send({ get_account_status: 1 }, { forced: true }).then(() => {

0 commit comments

Comments
 (0)