migrate angular 21 tests

This commit is contained in:
2026-03-09 23:25:11 +01:00
parent bb08e46b0c
commit 0d0873730a
24 changed files with 924 additions and 109 deletions

View File

@@ -17,14 +17,15 @@ export class GuestShowService {
date: show.date,
songs: songs,
};
let shareId = show.shareId;
if (!show.shareId) {
const shareId = await this.guestShowDataService.add(data);
shareId = await this.guestShowDataService.add(data);
await this.showService.update$(show.id, {shareId});
} else {
await this.guestShowDataService.update$(show.shareId, data);
}
return window.location.protocol + '//' + window.location.host + '/guest/' + show.shareId;
return window.location.protocol + '//' + window.location.host + '/guest/' + shareId;
}
}