bstlboard-front/src/app/app.component.ts

20 lines
338 B
TypeScript
Raw Normal View History

2021-10-05 14:39:31 +02:00
import { Component } from '@angular/core';
2021-10-03 17:40:30 +02:00
import { I18nService } from './services/i18n.service';
@Component({
selector: 'app-root',
2021-10-05 14:39:31 +02:00
templateUrl: './app.component.html'
2021-10-03 17:40:30 +02:00
})
export class AppComponent {
2021-10-05 14:39:31 +02:00
constructor(private i18n: I18nService) {
2021-10-03 17:40:30 +02:00
}
ngOnInit() {
2021-10-05 14:39:31 +02:00
window.document.title = this.i18n.get('bstlboard', []);
2021-10-03 17:40:30 +02:00
}
}