@@ -748,6 +748,15 @@ HotelTV.LoadAppFull = async function() {
|
||||
}
|
||||
//HotelTV.translation = await JSON.parse(sessionStorage.getItem("translation"));
|
||||
|
||||
//Override Lang if needed
|
||||
try {
|
||||
let Usr_Dataset = await HotelTV.api.GetUsrDataset();
|
||||
if ( 'next_lang' in Usr_Dataset ){
|
||||
HotelTV.state.lang = Usr_Dataset.next_lang;
|
||||
}
|
||||
} catch (_error) {
|
||||
console.error("Fail to get user data set");
|
||||
}
|
||||
|
||||
//STEP#03: INIT HCAP for HotelTV FullAPP
|
||||
let tmrAppAuth = setInterval(async function() {
|
||||
|
||||
Reference in New Issue
Block a user