mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
[PM-17064] Prevent error being thrown when taxInformation is undefined. (#12884)
This commit is contained in:
@@ -1062,7 +1062,11 @@ export class ChangePlanDialogComponent implements OnInit, OnDestroy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private refreshSalesTax(): void {
|
private refreshSalesTax(): void {
|
||||||
if (!this.taxInformation.country || !this.taxInformation.postalCode) {
|
if (
|
||||||
|
this.taxInformation === undefined ||
|
||||||
|
!this.taxInformation.country ||
|
||||||
|
!this.taxInformation.postalCode
|
||||||
|
) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user