diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-12-21 15:07:04 +0100 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-12-23 00:43:11 +0100 |
commit | 45f6472d1e8ecad428da314a6d762143f033865d (patch) | |
tree | 3d4f3f413ab752fcb0d5c661fd3fec63ba5f5c24 /webapp/src/app/pages/build/build.component.ts | |
parent | a85f3ef5017e7e1406476194cd5f3e848a3718f9 (diff) |
Added new SDKs management supportv1.0.0-rc2
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'webapp/src/app/pages/build/build.component.ts')
-rw-r--r-- | webapp/src/app/pages/build/build.component.ts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/webapp/src/app/pages/build/build.component.ts b/webapp/src/app/pages/build/build.component.ts index f937fc3..9a47c35 100644 --- a/webapp/src/app/pages/build/build.component.ts +++ b/webapp/src/app/pages/build/build.component.ts @@ -105,9 +105,10 @@ export class BuildComponent implements OnInit, AfterViewChecked { if (!this.isSetupValid()) { return this.alertSvr.warning('Please select first a valid project.', true); } - - const activeModal = this.modalService.open(BuildSettingsModalComponent, { size: 'lg', container: 'nb-layout' }); - activeModal.componentInstance.modalHeader = 'Large Modal'; + const modal = this.modalService.open( + BuildSettingsModalComponent, + { size: 'lg', container: 'nb-layout' }, + ); } execCmd(cmdName: string) { @@ -134,7 +135,7 @@ export class BuildComponent implements OnInit, AfterViewChecked { cmd = this.curPrj.uiSettings.cmdPopulate; break; case 'exec': - if (this.curPrj.uiSettings.cmdArgs instanceof Array) { + if (this.curPrj.uiSettings.cmdArgs instanceof Array) { cmd = this.curPrj.uiSettings.cmdArgs.join(' '); } else { cmd = this.curPrj.uiSettings.cmdArgs; |