bitwarden-estensione-browser/apps/web/src/app/organizations/billing/organization-billing-tab.co...

15 lines
476 B
TypeScript

import { Component } from "@angular/core";
import { PlatformUtilsService } from "@bitwarden/common/abstractions/platformUtils.service";
@Component({
selector: "app-org-billing-tab",
templateUrl: "organization-billing-tab.component.html",
})
export class OrganizationBillingTabComponent {
showPaymentAndHistory: boolean;
constructor(private platformUtilsService: PlatformUtilsService) {
this.showPaymentAndHistory = !this.platformUtilsService.isSelfHost();
}
}