mirror of
https://gitlab.com/openlp/web-remote.git
synced 2024-12-22 11:32:47 +00:00
Merge branch 'use-new-service-item-api-transpose-endpoint-fix' into 'master'
Fixing small bug in !53 See merge request openlp/web-remote!55
This commit is contained in:
commit
84b452e5a7
@ -26,6 +26,7 @@ export class ChordViewComponent extends StageViewComponent {
|
|||||||
const newServiceItemTransposeLevel = this.songTransposeMap.get(serviceItemId);
|
const newServiceItemTransposeLevel = this.songTransposeMap.get(serviceItemId);
|
||||||
|
|
||||||
if (this.useNewTransposeEndpoint && newServiceItemTransposeLevel && (newServiceItemTransposeLevel !== 0)) {
|
if (this.useNewTransposeEndpoint && newServiceItemTransposeLevel && (newServiceItemTransposeLevel !== 0)) {
|
||||||
|
this.transposeLevel = newServiceItemTransposeLevel;
|
||||||
this.serviceItemSubscription$ = this.openlpService
|
this.serviceItemSubscription$ = this.openlpService
|
||||||
.transposeSong(newServiceItemTransposeLevel, 'service_item')
|
.transposeSong(newServiceItemTransposeLevel, 'service_item')
|
||||||
.subscribe(serviceItem => {
|
.subscribe(serviceItem => {
|
||||||
|
Loading…
Reference in New Issue
Block a user