cic-staff-client/src/app/app.component.ts

16 lines
423 B
TypeScript

import { Component } from '@angular/core';
import {AuthService} from '@app/_services';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
title = 'cic-staff-client';
constructor(private authService: AuthService) {
this.authService.mutableKeyStore.loadKeyring().then(r => this.authService.getPublicKeys().then());
}
}