mirror of
https://github.com/bitwarden/browser
synced 2026-01-02 00:23:35 +00:00
20 lines
436 B
TypeScript
20 lines
436 B
TypeScript
import * as template from './about.component.html';
|
|
|
|
export class AboutController {
|
|
version: string;
|
|
year: number;
|
|
i18n: any;
|
|
|
|
constructor(i18nService: any) {
|
|
this.i18n = i18nService;
|
|
this.year = (new Date()).getFullYear();
|
|
this.version = chrome.runtime.getManifest().version;
|
|
}
|
|
}
|
|
|
|
export const AboutComponent = {
|
|
bindings: {},
|
|
controller: AboutController,
|
|
template: template,
|
|
};
|