1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

use version browser api in help

This commit is contained in:
Kyle Spearrin
2018-01-12 10:41:01 -05:00
parent 8ad36e4740
commit 1e11a89fc2
3 changed files with 6 additions and 3 deletions

View File

@@ -1,5 +1,7 @@
import * as template from './about.component.html';
import BrowserApi from '../../../browser/browserApi';
export class AboutController {
version: string;
year: number;
@@ -8,7 +10,7 @@ export class AboutController {
constructor(private i18nService: any) {
this.i18n = i18nService;
this.year = (new Date()).getFullYear();
this.version = chrome.runtime.getManifest().version;
this.version = BrowserApi.getApplicationVersion();
}
}