mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 09:43:23 +00:00
Resolve the seat adjustment issue (#10265)
This commit is contained in:
@@ -99,11 +99,12 @@ export class AdjustSubscription implements OnInit, OnDestroy {
|
||||
: 0;
|
||||
}
|
||||
|
||||
get adjustedSeatTotal(): number {
|
||||
return this.additionalSeatCount * this.seatPrice;
|
||||
get maxSeatTotal(): number {
|
||||
return Math.abs((this.adjustSubscriptionForm.value.newMaxSeats ?? 0) * this.seatPrice);
|
||||
}
|
||||
|
||||
get maxSeatTotal(): number {
|
||||
return this.additionalMaxSeatCount * this.seatPrice;
|
||||
get seatTotalCost(): number {
|
||||
const totalSeat = Math.abs(this.adjustSubscriptionForm.value.newSeatCount * this.seatPrice);
|
||||
return totalSeat;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user