File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
frontend/src/app/app-module/guides Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,7 @@ <h4 class="card-title mb-0 text-primary">
3131 </ ng-template >
3232
3333 < ng-template [ngIf] ="step.content.id === 'stepContent2' ">
34- < app-log-colletor [agent] = "moduleEnum "
35- [protocols] ="getProtocols() ">
34+ < app-log-colletor [agent] = "moduleEnum ">
3635 </ app-log-colletor >
3736 </ ng-template >
3837
Original file line number Diff line number Diff line change 55} from '../../../../shared/components/utm/util/modal-confirmation/modal-confirmation.component' ;
66import { replaceCommandTokens } from "../../../../shared/util/replace-command-tokens.util" ;
77import { UtmModulesEnum } from '../../../shared/enum/utm-module.enum' ;
8+ import { PLATFORMS } from "../constant" ;
89
910@Component ( {
1011 selector : 'app-log-colletor' ,
@@ -32,7 +33,7 @@ import {UtmModulesEnum} from '../../../shared/enum/utm-module.enum';
3233 </div>
3334 <ng-container *ngIf="selectedProtocol && selectedPlatform && selectedAction">
3435 <span class="font-weight-semibold mb-2">{{selectedPlatform.shell}}</span>
35- <app-utm-code-view class="" [code]=commands ></app-utm-code-view>
36+ <app-utm-code-view *ngFor="let command of commands" class="" [code]=command ></app-utm-code-view>
3637 </ng-container>
3738 ` ,
3839 styles : [ `
@@ -51,7 +52,7 @@ import {UtmModulesEnum} from '../../../shared/enum/utm-module.enum';
5152export class LogCollectorComponent {
5253
5354 @Input ( ) agent : string ;
54- @Input ( ) platforms : any [ ] ;
55+ @Input ( ) platforms : any [ ] = PLATFORMS ;
5556 @Input ( ) hideActions = false ;
5657 @Input ( ) hideProtocols = false ;
5758 @Input ( ) protocols = [
You can’t perform that action at this time.
0 commit comments