mirror of
https://github.com/bitwarden/browser
synced 2025-12-23 19:53:43 +00:00
[TypeScript] Settings module (#398)
* Convert settings to TypeScript. * Simplify loadSettings using await. * Re-write save feature settings. * Minor fixes.
This commit is contained in:
committed by
Kyle Spearrin
parent
7c525d3f3a
commit
78c4ea7ecb
19
src/popup/app/settings/about.component.ts
Normal file
19
src/popup/app/settings/about.component.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import * as template from './about.component.html';
|
||||
|
||||
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,
|
||||
};
|
||||
Reference in New Issue
Block a user