Add a lot of useful instructions to the firmware page.
This commit is contained in:
@@ -3,6 +3,8 @@ import { Store } from '@ngrx/store';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Subscription } from 'rxjs/Subscription';
|
||||
import { HardwareModules, VersionInformation } from 'uhk-common';
|
||||
import { Constants } from 'uhk-common';
|
||||
import { OpenUrlInNewWindowAction } from '../../../store/actions/app';
|
||||
|
||||
import {
|
||||
AppState,
|
||||
@@ -60,4 +62,9 @@ export class DeviceFirmwareComponent implements OnDestroy {
|
||||
}.bind(this);
|
||||
fileReader.readAsArrayBuffer(files[0]);
|
||||
}
|
||||
|
||||
openFirmwareGitHubIssuePage(event): void {
|
||||
event.preventDefault();
|
||||
this.store.dispatch(new OpenUrlInNewWindowAction(Constants.FIRMWARE_GITHUB_ISSUE_URL));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user