Update about the showing the user images
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Component, OnInit } from "@angular/core";
|
||||
import { AuthenticationService } from "../../services/authentication.service";
|
||||
import { ServiceComm } from "../../services/service-comm.service";
|
||||
|
||||
@Component({
|
||||
@@ -7,9 +8,11 @@ import { ServiceComm } from "../../services/service-comm.service";
|
||||
styleUrls: ["./default.component.css"]
|
||||
})
|
||||
export class DefaultComponent implements OnInit {
|
||||
constructor(private serviceComm: ServiceComm) {}
|
||||
constructor(private serviceComm: ServiceComm,
|
||||
private authenticationService: AuthenticationService) {}
|
||||
|
||||
ngOnInit() {
|
||||
this.serviceComm.UpdatedComponentTitle("Home");
|
||||
this.authenticationService.alwaysLogin();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user