1
0
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:
Addison Beck
2021-02-25 17:25:53 -05:00
committed by GitHub
parent 2cc24335ef
commit 2e20978cee
4 changed files with 49 additions and 3 deletions

View File

@@ -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;