Fix TV ui
1. FIX TV UI
2. ADD Centirm Remote Key code
3. Enabled EPG getting api
This commit is contained in:
Joel,Kim
2022-04-23 13:18:45 +09:00
parent 9ed4c73d28
commit 80b3f81698
4 changed files with 251 additions and 239 deletions

View File

@@ -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);