move org id to base class

This commit is contained in:
Kyle Spearrin 2018-07-18 17:20:35 -04:00
parent ee4d2400c9
commit 6d0651a1cb
2 changed files with 1 additions and 2 deletions

View File

@ -18,8 +18,6 @@ import { TwoFactorSetupComponent as BaseTwoFactorSetupComponent } from '../../se
templateUrl: '../../settings/two-factor-setup.component.html', templateUrl: '../../settings/two-factor-setup.component.html',
}) })
export class TwoFactorSetupComponent extends BaseTwoFactorSetupComponent { export class TwoFactorSetupComponent extends BaseTwoFactorSetupComponent {
organizationId: string;
constructor(apiService: ApiService, tokenService: TokenService, constructor(apiService: ApiService, tokenService: TokenService,
componentFactoryResolver: ComponentFactoryResolver, messagingService: MessagingService, componentFactoryResolver: ComponentFactoryResolver, messagingService: MessagingService,
private route: ActivatedRoute) { private route: ActivatedRoute) {

View File

@ -36,6 +36,7 @@ export class TwoFactorSetupComponent implements OnInit {
@ViewChild('duoTemplate', { read: ViewContainerRef }) duoModalRef: ViewContainerRef; @ViewChild('duoTemplate', { read: ViewContainerRef }) duoModalRef: ViewContainerRef;
@ViewChild('emailTemplate', { read: ViewContainerRef }) emailModalRef: ViewContainerRef; @ViewChild('emailTemplate', { read: ViewContainerRef }) emailModalRef: ViewContainerRef;
organizationId: string;
providers: any[] = []; providers: any[] = [];
premium: boolean; premium: boolean;
loading = true; loading = true;