1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00
Files
browser/src/popup/app/settings/about.component.ts
2018-01-12 10:41:01 -05:00

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,
};