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