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',
})
export class TwoFactorSetupComponent extends BaseTwoFactorSetupComponent {
organizationId: string;
constructor(apiService: ApiService, tokenService: TokenService,
componentFactoryResolver: ComponentFactoryResolver, messagingService: MessagingService,
private route: ActivatedRoute) {

View File

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