plugins-functionality #43
|
@ -34,7 +34,7 @@
|
|||
</div>
|
||||
<form *ngIf="!showLoading" [formGroup]="myForm">
|
||||
<div class="uk-grid uk-child-width-1-2">
|
||||
<div *ngIf="placementsOptions.length > 0" input [formInput]="myForm.get('placement')"
|
||||
<div *ngIf="placementsOptions.length > 1 && myForm.get('placement').value" input [formInput]="myForm.get('placement')"
|
||||
placeholder="Select placement" [options]="placementsOptions" type="select"></div>
|
||||
<div input [formInput]="myForm.get('order')" placeholder="Select order" [options]="orderOptions" type="select"></div>
|
||||
</div>
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
</div>
|
||||
</aside>
|
||||
|
||||
<div page-content [fullWidth]="true" >
|
||||
<div page-content [fullWidth]="true" class="uk-width-1-1">
|
||||
<div inner>
|
||||
<div> <!--class="uk-section uk-section-small uk-position-relative" style="min-height: 60vh">-->
|
||||
|
||||
|
|
|
@ -187,13 +187,10 @@ export class PluginsComponent implements OnInit {
|
|||
return a.plugin.order - b.plugin.order;
|
||||
})
|
||||
}
|
||||
console.log(availablePlacements)
|
||||
if (availablePlacements.length == 1) {
|
||||
this.selectedPlacementView = availablePlacements[0];
|
||||
this.sinlgePlacementAvailable = true
|
||||
}
|
||||
console.log(availablePlacements)
|
||||
|
||||
this.showLoading = false;
|
||||
},
|
||||
error => this.handleError('System error retrieving plugins', error)));
|
||||
|
|
Loading…
Reference in New Issue