Merge pull request 'staging' (#8) from staging into master

Reviewed-on: http://localhost:3000/zino/seatmapv2/pulls/8
This commit is contained in:
zino
2021-05-28 12:17:46 +02:00
2 changed files with 5 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ export function initSendInputsWithValue(inE: any) {
const data: I.Message = JSON.parse(inE.data); const data: I.Message = JSON.parse(inE.data);
config.state.inputsWithValue = data.message; config.state.inputsWithValue = data.message;
UI.changeVenueImage(); UI.changeVenueImage();
UI.changeSiteTitle();
Communication.sendEventToParent("child_init_needVenueXML"); Communication.sendEventToParent("child_init_needVenueXML");
} }

View File

@@ -22,6 +22,10 @@ export function setOptionSelect(inSeatmapListing: I.Seatmap[], inId: string): vo
} }
} }
export function changeSiteTitle(): void {
document.title += ` ${config.state.inputsWithValue?.supplier_code}`;
}
export function setEventInfo(inEventInfo: I.EventInfo): void { export function setEventInfo(inEventInfo: I.EventInfo): void {
const inputsWithValue = config.state.inputsWithValue!; const inputsWithValue = config.state.inputsWithValue!;