issue #1
Fix TV ui 1. FIX TV UI 2. ADD Centirm Remote Key code 3. Enabled EPG getting api
This commit is contained in:
@@ -239,12 +239,6 @@ HotelTV.Init = async function() {
|
||||
console.log("Display Error page for get tvguide info");
|
||||
}
|
||||
|
||||
try {
|
||||
HotelTV.epg = await HotelTV.api.GetEpg();
|
||||
} catch (_error) {
|
||||
console.log("Display Error page for get epg info");
|
||||
}
|
||||
|
||||
try {
|
||||
HotelTV.news = await HotelTV.api.GetNews();
|
||||
} catch (_error) {
|
||||
@@ -367,7 +361,12 @@ HotelTV.LoadAppFull = async function() {
|
||||
HotelTV.flight = await JSON.parse(sessionStorage.getItem("flight"));
|
||||
HotelTV.news = await JSON.parse(sessionStorage.getItem("news"));
|
||||
HotelTV.message = await JSON.parse(sessionStorage.getItem("message"));
|
||||
//HotelTV.epg = await JSON.parse(sessionStorage.getItem("epg"));
|
||||
|
||||
try {
|
||||
HotelTV.epg = await HotelTV.api.GetEpg();
|
||||
} catch (_error) {
|
||||
console.log("Display Error page for get epg info");
|
||||
}
|
||||
|
||||
try {
|
||||
HotelTV.carts.amenity = await HotelTV.api.GetAmenityCarts(null);
|
||||
|
||||
Reference in New Issue
Block a user