[plugins-functionality | DONE | CHANGED ] create validateEnabledPage.component.ts include it in manage pages
This commit is contained in:
parent
bb08cacc3c
commit
9db0940697
|
@ -34,7 +34,7 @@
|
||||||
</div>
|
</div>
|
||||||
<form *ngIf="!showLoading" [formGroup]="myForm">
|
<form *ngIf="!showLoading" [formGroup]="myForm">
|
||||||
<div class="uk-grid uk-child-width-1-2">
|
<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>
|
placeholder="Select placement" [options]="placementsOptions" type="select"></div>
|
||||||
<div input [formInput]="myForm.get('order')" placeholder="Select order" [options]="orderOptions" type="select"></div>
|
<div input [formInput]="myForm.get('order')" placeholder="Select order" [options]="orderOptions" type="select"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -86,7 +86,7 @@
|
||||||
</div>
|
</div>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
<div page-content [fullWidth]="true" >
|
<div page-content [fullWidth]="true" class="uk-width-1-1">
|
||||||
<div inner>
|
<div inner>
|
||||||
<div> <!--class="uk-section uk-section-small uk-position-relative" style="min-height: 60vh">-->
|
<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;
|
return a.plugin.order - b.plugin.order;
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
console.log(availablePlacements)
|
|
||||||
if (availablePlacements.length == 1) {
|
if (availablePlacements.length == 1) {
|
||||||
this.selectedPlacementView = availablePlacements[0];
|
this.selectedPlacementView = availablePlacements[0];
|
||||||
this.sinlgePlacementAvailable = true
|
this.sinlgePlacementAvailable = true
|
||||||
}
|
}
|
||||||
console.log(availablePlacements)
|
|
||||||
|
|
||||||
this.showLoading = false;
|
this.showLoading = false;
|
||||||
},
|
},
|
||||||
error => this.handleError('System error retrieving plugins', error)));
|
error => this.handleError('System error retrieving plugins', error)));
|
||||||
|
|
Loading…
Reference in New Issue