1
0
mirror of https://github.com/bitwarden/web synced 2025-12-27 05:33:19 +00:00

Ran linter

This commit is contained in:
Justin Baur
2021-11-23 15:42:06 -05:00
parent 16f8f1a16c
commit 95fa0461e6
5 changed files with 6 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ import {
ViewContainerRef,
} from '@angular/core';
import {
import {
ActivatedRoute,
Router
} from '@angular/router';

View File

@@ -1,4 +1,4 @@
import {
import {
Component,
EventEmitter,
Output,

View File

@@ -40,7 +40,7 @@ import { OrganizationPlansComponent } from 'src/app/settings/organization-plans.
templateUrl: 'families-for-enterprise-setup.component.html',
})
export class FamiliesForEnterpriseSetupComponent implements OnInit {
@ViewChild(OrganizationPlansComponent, { static: false })
@ViewChild(OrganizationPlansComponent, { static: false })
set organizationPlansComponent(value: OrganizationPlansComponent) {
if (!value) {
return;
@@ -109,7 +109,7 @@ export class FamiliesForEnterpriseSetupComponent implements OnInit {
get selectedFamilyOrganizationId() {
return this._selectedFamilyOrganizationId;
}
set selectedFamilyOrganizationId(value: string) {
this._selectedFamilyOrganizationId = value;
this.showNewOrganization = value === 'createNew';

View File

@@ -124,7 +124,7 @@ export class OrganizationPlansComponent implements OnInit {
.filter(plan => !plan.legacyYear
&& !plan.disabled
&& (plan.isAnnual || plan.product === this.productTypes.Free));
if (this.acceptingSponsorship) {
const familyPlan = this.plans.find(plan => plan.type === PlanType.FamiliesAnnually);
familyPlan.basePrice = 0;

View File

@@ -50,7 +50,7 @@ export class SponsoringOrgRowComponent {
private async doRevokeSponsorship() {
const isConfirmed = await this.platformUtilsService.showDialog(
this.i18nService.t('revokeSponsorshipConfirmation'),
this.i18nService.t('revokeSponsorshipConfirmation'),
`${this.i18nService.t('remove')} ${this.sponsoringOrg.familySponsorshipFriendlyName}?`,
this.i18nService.t('remove'), this.i18nService.t('cancel'), 'warning');