mirror of
https://github.com/simon987/task_tracker.git
synced 2025-12-15 15:59:03 +00:00
Clear old monitoring snapshots, logout endpoint
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import {Component} from '@angular/core';
|
||||
import {Router} from '@angular/router';
|
||||
import {TranslateService} from "@ngx-translate/core";
|
||||
import {AuthService} from "./auth.service";
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
@@ -18,7 +19,9 @@ export class AppComponent {
|
||||
{lang: "en", display: "English"},
|
||||
];
|
||||
|
||||
constructor(private translate: TranslateService, private router: Router) {
|
||||
constructor(private translate: TranslateService,
|
||||
private router: Router,
|
||||
public authService: AuthService) {
|
||||
|
||||
translate.addLangs([
|
||||
"en",
|
||||
|
||||
Reference in New Issue
Block a user