* limitations under the License.
* ========================LICENSE_END===================================
*/
* limitations under the License.
* ========================LICENSE_END===================================
*/
import { ConfirmDialogService } from './../services/ui/confirm-dialog.service'
import { NotificationService } from './../services/ui/notification.service'
import { ConfirmDialogService } from './../services/ui/confirm-dialog.service'
import { NotificationService } from './../services/ui/notification.service'
@Component({
selector: 'app-catalog',
templateUrl: './catalog.component.html',
styleUrls: ['./catalog.component.css']
})
@Component({
selector: 'app-catalog',
templateUrl: './catalog.component.html',
styleUrls: ['./catalog.component.css']
})
- private notification: NotificationService) {
- this.service.getAll().subscribe((val: any[]) => this.source.load(val));
+ private notification: NotificationService) { }
+
+ ngOnInit() {
+ this.xappMgrSvc.getAll().subscribe((xapps: XMXapp[]) => this.source.load(xapps));
}
onDeployxApp(event): void {
this.confirmDialogService.openConfirmDialog('Are you sure you want to deploy this xApp?')
.afterClosed().subscribe(res => {
if (res) {
}
onDeployxApp(event): void {
this.confirmDialogService.openConfirmDialog('Are you sure you want to deploy this xApp?')
.afterClosed().subscribe(res => {
if (res) {