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:
Raoul Snyman 2023-02-10 18:51:05 +00:00
commit 84b452e5a7

View File

@ -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 => {