mirror of
https://gitlab.com/openlp/web-remote.git
synced 2024-12-22 03:22:48 +00:00
Get stuff working again
This commit is contained in:
parent
fc9b13e971
commit
58d1b3698e
@ -24,7 +24,7 @@ export class OpenLPAlertComponent {
|
||||
|
||||
onSubmit() {
|
||||
console.log('submitted: ', this.alert);
|
||||
this.openlpService.showAlert(this.alert);
|
||||
this.openlpService.showAlert(this.alert).subscribe(res => console.log(res));
|
||||
this.alert = '';
|
||||
}
|
||||
}
|
||||
|
@ -18,38 +18,37 @@ export class AppComponent {
|
||||
console.log(result);
|
||||
});
|
||||
}
|
||||
/*
|
||||
|
||||
nextItem() {
|
||||
this.openlpService.nextItem();
|
||||
this.openlpService.nextItem().subscribe(res => console.log(res));
|
||||
}
|
||||
|
||||
previousItem() {
|
||||
this.openlpService.previousItem();
|
||||
this.openlpService.previousItem().subscribe(res => console.log(res));
|
||||
}
|
||||
|
||||
nextSlide() {
|
||||
this.openlpService.nextSlide();
|
||||
this.openlpService.nextSlide().subscribe(res => console.log(res));
|
||||
}
|
||||
|
||||
previousSlide() {
|
||||
this.openlpService.previousSlide();
|
||||
this.openlpService.previousSlide().subscribe(res => console.log(res));
|
||||
}
|
||||
|
||||
blankDisplay() {
|
||||
this.openlpService.blankDisplay();
|
||||
this.openlpService.blankDisplay().subscribe(res => console.log(res));
|
||||
}
|
||||
|
||||
themeDisplay() {
|
||||
this.openlpService.themeDisplay();
|
||||
this.openlpService.themeDisplay().subscribe(res => console.log(res));
|
||||
}
|
||||
|
||||
desktopDisplay() {
|
||||
this.openlpService.desktopDisplay();
|
||||
this.openlpService.desktopDisplay().subscribe(res => console.log(res));
|
||||
}
|
||||
|
||||
showDisplay() {
|
||||
this.openlpService.showDisplay();
|
||||
this.openlpService.showDisplay().subscribe(res => console.log(res));
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
|
@ -54,11 +54,11 @@ export class OpenLPSearchComponent implements OnInit {
|
||||
}
|
||||
|
||||
sendLive(id) {
|
||||
this.openlpService.sendItemLive(this.currentPlugin, id);
|
||||
this.openlpService.sendItemLive(this.currentPlugin, id).subscribe(res => console.log(res));
|
||||
}
|
||||
|
||||
addToService(id) {
|
||||
this.openlpService.addItemToService(this.currentPlugin, id);
|
||||
this.openlpService.addItemToService(this.currentPlugin, id).subscribe(res => console.log(res));
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
|
@ -25,7 +25,7 @@ export class OpenLPServiceComponent implements OnInit {
|
||||
}
|
||||
|
||||
onItemSelected(item) {
|
||||
this.openlpService.setServiceItem(item);
|
||||
this.openlpService.setServiceItem(item).subscribe(res => console.log(res));
|
||||
this.router.navigate(['slides']);
|
||||
}
|
||||
|
||||
|
@ -28,7 +28,7 @@ export class OpenLPSlidesComponent implements OnInit {
|
||||
}
|
||||
|
||||
onSlideSelected(item) {
|
||||
// this.openlpService.setSlide(item);
|
||||
this.openlpService.setSlide(item).subscribe(res => console.log(res));
|
||||
}
|
||||
|
||||
getSlides() {
|
||||
|
Loading…
Reference in New Issue
Block a user