mirror of
https://github.com/bitwarden/web
synced 2025-12-15 15:53:18 +00:00
updated send access component (#852)
* updated send access component * updated jslib * bump jslib version (#851) * code review fixes * updated send access component * updated jslib * code review fixes Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
This commit is contained in:
@@ -56,6 +56,20 @@ export class AccessComponent implements OnInit {
|
||||
return this.showText ? this.send.text.text : this.send.text.maskedText;
|
||||
}
|
||||
|
||||
get expirationDate() {
|
||||
if (this.send == null || this.send.expirationDate == null) {
|
||||
return null;
|
||||
}
|
||||
return this.send.expirationDate;
|
||||
}
|
||||
|
||||
get creatorIdentifier() {
|
||||
if (this.send == null || this.send.creatorIdentifier == null) {
|
||||
return null;
|
||||
}
|
||||
return this.send.creatorIdentifier;
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.route.params.subscribe(async params => {
|
||||
this.id = params.sendId;
|
||||
|
||||
Reference in New Issue
Block a user