diff options
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.ts | 5 |
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; } |