/**
* @license
-* Copyright (C) 2017 "IoT.bzh"
+* Copyright (C) 2017-2018 "IoT.bzh"
* Author Sebastien Douheret <sebastien@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
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) {
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;