not-found.component.ts 510 Bytes
Newer Older
1
import { Component } from '@angular/core';
2
import { TranslateService } from '@ngx-translate/core';
3
4
5
6
7
8

@Component({
    selector: 'app-not-found',
    templateUrl: './not-found.component.html',
    styleUrls: ['not-found.component.scss']
})
9
10
11
12
13
14
15
16
17
export class NotFoundComponent { 
    translateService: any;
    urlLogin: string;

    constructor(public translate: TranslateService) {
        this.translateService = translate;
        this.urlLogin = '/'+this.translateService.get('i18n.code').value+'/login';
    }
}