Fixed tests
This commit is contained in:
parent
7de31f5d32
commit
993654dabd
@ -1,15 +1,8 @@
|
||||
import { Component } from "@angular/core";
|
||||
import { KeycloakService } from "keycloak-angular";
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: "app-home",
|
||||
templateUrl: "./home.component.html",
|
||||
styleUrl: "./home.component.scss",
|
||||
selector: 'app-home',
|
||||
templateUrl: './home.component.html',
|
||||
styleUrl: './home.component.scss',
|
||||
})
|
||||
export class HomeComponent {
|
||||
constructor(private keycloak: KeycloakService) {
|
||||
if (!this.keycloak.isLoggedIn()) {
|
||||
this.keycloak.login().then(() => {});
|
||||
}
|
||||
}
|
||||
}
|
||||
export class HomeComponent {}
|
||||
|
Loading…
Reference in New Issue
Block a user