mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 23:33:31 +00:00
Fix TaxService.previewTaxAmountForOrganizationTrial return type (#15848)
This commit is contained in:
@@ -304,6 +304,7 @@ export class TrialBillingStepComponent implements OnInit, OnDestroy {
|
||||
this.fetchingTaxAmount = true;
|
||||
|
||||
if (!this.taxInfoComponent.validate()) {
|
||||
this.fetchingTaxAmount = false;
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -326,7 +327,7 @@ export class TrialBillingStepComponent implements OnInit, OnDestroy {
|
||||
|
||||
const response = await this.taxService.previewTaxAmountForOrganizationTrial(request);
|
||||
this.fetchingTaxAmount = false;
|
||||
return response.taxAmount;
|
||||
return response;
|
||||
};
|
||||
|
||||
get price() {
|
||||
|
||||
Reference in New Issue
Block a user