mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 09:43:23 +00:00
frontend footer
This commit is contained in:
@@ -4,12 +4,19 @@ import {
|
||||
OnInit,
|
||||
} from '@angular/core';
|
||||
|
||||
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-frontend-layout',
|
||||
templateUrl: 'frontend-layout.component.html',
|
||||
})
|
||||
export class FrontendLayoutComponent implements OnInit, OnDestroy {
|
||||
version: string;
|
||||
|
||||
constructor(private platformUtilsService: PlatformUtilsService) { }
|
||||
|
||||
ngOnInit() {
|
||||
this.version = this.platformUtilsService.getApplicationVersion();
|
||||
document.body.classList.add('layout_frontend');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user