fix(ProfilePopup): fixed display name on block popup

Closes #7521
This commit is contained in:
Alexandra Betouni 2022-09-27 19:04:10 +03:00 committed by Alexandra Betouni
parent db429b4961
commit 654519f5dd

View File

@ -140,13 +140,13 @@ StatusDialog {
} }
function blockUser() { function blockUser() {
profileView.blockContactConfirmationDialog.contactName = userName; profileView.blockContactConfirmationDialog.contactName = userDisplayName;
profileView.blockContactConfirmationDialog.contactAddress = userPublicKey; profileView.blockContactConfirmationDialog.contactAddress = userPublicKey;
profileView.blockContactConfirmationDialog.open(); profileView.blockContactConfirmationDialog.open();
} }
function unblockUser() { function unblockUser() {
profileView.unblockContactConfirmationDialog.contactName = userName; profileView.unblockContactConfirmationDialog.contactName = userDisplayName;
profileView.unblockContactConfirmationDialog.contactAddress = userPublicKey; profileView.unblockContactConfirmationDialog.contactAddress = userPublicKey;
profileView.unblockContactConfirmationDialog.open(); profileView.unblockContactConfirmationDialog.open();
} }