mirror of
https://github.com/bitwarden/web
synced 2025-12-30 15:13:21 +00:00
* Add jslib as a dependency * Cleanup tsconfig, webpack, add jslib-angular to package.json * Update all import paths * Add back @types/node. * Lint * Remove dummy module * Remove merge conflict * Group imports * Bump jslib
23 lines
575 B
TypeScript
23 lines
575 B
TypeScript
import {
|
|
Component,
|
|
OnInit,
|
|
} from '@angular/core';
|
|
|
|
import { PlatformUtilsService } from 'jslib-common/abstractions/platformUtils.service';
|
|
|
|
@Component({
|
|
selector: 'app-footer',
|
|
templateUrl: 'footer.component.html',
|
|
})
|
|
export class FooterComponent implements OnInit {
|
|
version: string;
|
|
year: string = '2015';
|
|
|
|
constructor(private platformUtilsService: PlatformUtilsService) { }
|
|
|
|
async ngOnInit() {
|
|
this.year = new Date().getFullYear().toString();
|
|
this.version = await this.platformUtilsService.getApplicationVersion();
|
|
}
|
|
}
|