summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole3/frontend/src/app/service/og-commands.service.ts
diff options
context:
space:
mode:
authorJuan Manuel Bardallo juanmanuel.bardallo@sic.uhu.es <juanmanuel.bardallo@sic.uhu.es>2019-06-07 10:14:09 +0200
committerJuan Manuel Bardallo juanmanuel.bardallo@sic.uhu.es <juanmanuel.bardallo@sic.uhu.es>2019-06-07 10:14:09 +0200
commit4ba1d5aefc6c437334fa031c58ecddca0f926a13 (patch)
tree09f41596574157e7c0288aac813bd71804e9cd84 /admin/WebConsole3/frontend/src/app/service/og-commands.service.ts
parent09120935ac33f613c2f733d41af8213048e3bd27 (diff)
Creado gestion de plantillas netboot
Mejoras de estabilidad en componentes: - Asistente de particionado - Vista de un cliente - Vista unidad organizativa
Diffstat (limited to 'admin/WebConsole3/frontend/src/app/service/og-commands.service.ts')
-rw-r--r--admin/WebConsole3/frontend/src/app/service/og-commands.service.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/admin/WebConsole3/frontend/src/app/service/og-commands.service.ts b/admin/WebConsole3/frontend/src/app/service/og-commands.service.ts
index 6b54a896..6194f123 100644
--- a/admin/WebConsole3/frontend/src/app/service/og-commands.service.ts
+++ b/admin/WebConsole3/frontend/src/app/service/og-commands.service.ts
@@ -7,17 +7,18 @@ import {Router} from '@angular/router';
import {Injectable} from '@angular/core';
import * as _ from 'lodash';
import {environment} from '../../environments/environment';
+import {Execution} from '../model/command';
@Injectable({
providedIn: 'root'
})
export class OGCommandsService {
public ogInstructions = '';
- public execution: any;
+ public execution: Execution;
private commands: any;
constructor(private router: Router, private ogCommonService: OgCommonService, private toaster: ToasterService, private ogSweetAlert: OgSweetAlertService, private commandService: CommandService, private translate: TranslateService) {
- this.execution = {};
+ this.execution = new Execution();
this.commands = environment.commands;
}