mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-29 07:59:42 +01:00
fix year in frontend footer
This commit is contained in:
parent
378b4bb8c1
commit
459bc69032
@ -1,5 +1,5 @@
|
||||
<router-outlet></router-outlet>
|
||||
<div class="container my-5 text-muted text-center">
|
||||
© 2018, 8bit Solutions LLC
|
||||
© {{year}}, 8bit Solutions LLC
|
||||
<br> {{'versionNumber' | i18n : version}}
|
||||
</div>
|
||||
|
@ -12,10 +12,12 @@ import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
|
||||
})
|
||||
export class FrontendLayoutComponent implements OnInit, OnDestroy {
|
||||
version: string;
|
||||
year: string = '2015';
|
||||
|
||||
constructor(private platformUtilsService: PlatformUtilsService) { }
|
||||
|
||||
ngOnInit() {
|
||||
this.year = new Date().getFullYear().toString();
|
||||
this.version = this.platformUtilsService.getApplicationVersion();
|
||||
document.body.classList.add('layout_frontend');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user