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