1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-26 12:25:20 +01:00

Fix hide text toggle on send access (#7028)

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
Daniel James Smith 2023-11-30 17:07:25 +01:00 committed by GitHub
parent 06841e5942
commit a79b4e182f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,5 +55,8 @@ export class SendAccessTextComponent {
protected toggleText() { protected toggleText() {
this.showText = !this.showText; this.showText = !this.showText;
this.formGroup.controls.sendText.patchValue(
this.showText ? this.send.text.text : this.send.text.maskedText
);
} }
} }