mirror of
https://github.com/bitwarden/web
synced 2025-12-15 07:43:16 +00:00
Fix warning banner logic and open link in new tab (#909)
This commit is contained in:
@@ -39,6 +39,7 @@ export class AccessComponent implements OnInit {
|
||||
showText = false;
|
||||
unavailable = false;
|
||||
error = false;
|
||||
hideEmail = false;
|
||||
|
||||
private id: string;
|
||||
private key: string;
|
||||
@@ -131,6 +132,7 @@ export class AccessComponent implements OnInit {
|
||||
async load() {
|
||||
this.unavailable = false;
|
||||
this.error = false;
|
||||
this.hideEmail = false;
|
||||
const keyArray = Utils.fromUrlB64ToArray(this.key);
|
||||
this.accessRequest = new SendAccessRequest();
|
||||
if (this.password != null) {
|
||||
@@ -162,5 +164,6 @@ export class AccessComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
this.loading = false;
|
||||
this.hideEmail = this.creatorIdentifier == null && !this.passwordRequired && !this.loading && !this.unavailable;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user