mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
22 lines
497 B
TypeScript
22 lines
497 B
TypeScript
import * as template from './about.component.html';
|
|
|
|
import BrowserApi from '../../../browser/browserApi';
|
|
|
|
export class AboutController {
|
|
version: string;
|
|
year: number;
|
|
i18n: any;
|
|
|
|
constructor(private i18nService: any) {
|
|
this.i18n = i18nService;
|
|
this.year = (new Date()).getFullYear();
|
|
this.version = BrowserApi.getApplicationVersion();
|
|
}
|
|
}
|
|
|
|
export const AboutComponent = {
|
|
bindings: {},
|
|
controller: AboutController,
|
|
template: template,
|
|
};
|