deleted, commented out
This commit is contained in:
@@ -391,11 +391,11 @@ export const deleteReservationCallback = (scheduleIdList) => (dispatch) => {
|
|||||||
lunaSend.deleteReservationCallback(scheduleIdList, {
|
lunaSend.deleteReservationCallback(scheduleIdList, {
|
||||||
onSuccess: (res) => {
|
onSuccess: (res) => {
|
||||||
// pyh todo, deleted alertToast
|
// pyh todo, deleted alertToast
|
||||||
dispatch(alertToast("success" + JSON.stringify(res)));
|
// dispatch(alertToast("success" + JSON.stringify(res)));
|
||||||
},
|
},
|
||||||
onFailure: (err) => {
|
onFailure: (err) => {
|
||||||
// pyh todo, deleted alertToast
|
// pyh todo, deleted alertToast
|
||||||
dispatch(alertToast("failed" + JSON.stringify(err)));
|
// dispatch(alertToast("failed" + JSON.stringify(err)));
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import { URLS } from "../api/apiConfig";
|
import { URLS } from "../api/apiConfig";
|
||||||
import { TAxios } from "../api/TAxios";
|
import { TAxios } from "../api/TAxios";
|
||||||
|
import { convertUtcToLocal } from "../components/MediaPlayer/util";
|
||||||
import { CATEGORY_DATA_MAX_RESULTS_LIMIT } from "../utils/Config";
|
import { CATEGORY_DATA_MAX_RESULTS_LIMIT } from "../utils/Config";
|
||||||
import * as HelperMethods from "../utils/helperMethods";
|
import * as HelperMethods from "../utils/helperMethods";
|
||||||
import { types } from "./actionTypes";
|
import { types } from "./actionTypes";
|
||||||
@@ -49,26 +50,28 @@ export const setMainLiveUpcomingAlarm = (props) => (dispatch, getState) => {
|
|||||||
testStrtDt,
|
testStrtDt,
|
||||||
} = props;
|
} = props;
|
||||||
|
|
||||||
|
const convertedStrtDt = convertUtcToLocal(strtDt);
|
||||||
|
|
||||||
const onSuccess = (response) => {
|
const onSuccess = (response) => {
|
||||||
console.log("setMainLiveUpcomingAlarm onSuccess", response.data);
|
console.log("setMainLiveUpcomingAlarm onSuccess", response.data);
|
||||||
|
|
||||||
if (alamDispFlag === "Y") {
|
if (alamDispFlag === "Y") {
|
||||||
const data = {
|
const data = {
|
||||||
startTime: {
|
startTime: {
|
||||||
// year: new Date(strtDt).getFullYear(),
|
year: new Date(convertedStrtDt).getFullYear(),
|
||||||
// month: new Date(strtDt).getMonth() + 1,
|
month: new Date(convertedStrtDt).getMonth() + 1,
|
||||||
// day: new Date(strtDt).getDate(),
|
day: new Date(convertedStrtDt).getDate(),
|
||||||
// hour: new Date(strtDt).getHours(),
|
hour: new Date(convertedStrtDt).getHours(),
|
||||||
// minute: new Date(strtDt).getMinutes(),
|
minute: new Date(convertedStrtDt).getMinutes(),
|
||||||
// second: new Date(strtDt).getSeconds(),
|
second: new Date(convertedStrtDt).getSeconds(),
|
||||||
|
|
||||||
// pyh, delete test case
|
// pyh, delete test case
|
||||||
year: new Date(testStrtDt).getFullYear(),
|
// year: new Date(testStrtDt).getFullYear(),
|
||||||
month: new Date(testStrtDt).getMonth() + 1,
|
// month: new Date(testStrtDt).getMonth() + 1,
|
||||||
day: new Date(testStrtDt).getDate(),
|
// day: new Date(testStrtDt).getDate(),
|
||||||
hour: new Date(testStrtDt).getHours(),
|
// hour: new Date(testStrtDt).getHours(),
|
||||||
minute: new Date(testStrtDt).getMinutes(),
|
// minute: new Date(testStrtDt).getMinutes(),
|
||||||
second: new Date(testStrtDt).getSeconds(),
|
// second: new Date(testStrtDt).getSeconds(),
|
||||||
},
|
},
|
||||||
params: {
|
params: {
|
||||||
message: `[${patncNm}] ${showNm}\nWatch Live show now?`,
|
message: `[${patncNm}] ${showNm}\nWatch Live show now?`,
|
||||||
|
|||||||
@@ -1,27 +1,18 @@
|
|||||||
import React, {
|
import React, { memo, useCallback, useEffect, useState } from "react";
|
||||||
memo,
|
|
||||||
useCallback,
|
|
||||||
useEffect,
|
|
||||||
useState,
|
|
||||||
} from 'react';
|
|
||||||
|
|
||||||
import classNames from 'classnames';
|
import classNames from "classnames";
|
||||||
|
|
||||||
import Spottable from '@enact/spotlight/Spottable';
|
import Spottable from "@enact/spotlight/Spottable";
|
||||||
|
|
||||||
import defaultLogoImg
|
import defaultLogoImg from "../../../assets/images/ic-tab-partners-default@3x.png";
|
||||||
from '../../../assets/images/ic-tab-partners-default@3x.png';
|
import defaultimgHorizontal from "../../../assets/images/img-thumb-empty-hor@3x.png";
|
||||||
import defaultimgHorizontal
|
import defaultImageItem from "../../../assets/images/img-thumb-empty-product@3x.png";
|
||||||
from '../../../assets/images/img-thumb-empty-hor@3x.png';
|
import defaultimgVertical from "../../../assets/images/img-thumb-empty-ver@3x.png";
|
||||||
import defaultImageItem
|
import IcLiveShow from "../../../assets/images/tag/tag-liveshow.png";
|
||||||
from '../../../assets/images/img-thumb-empty-product@3x.png';
|
import usePriceInfo from "../../hooks/usePriceInfo";
|
||||||
import defaultimgVertical
|
import { $L } from "../../utils/helperMethods";
|
||||||
from '../../../assets/images/img-thumb-empty-ver@3x.png';
|
import CustomImage from "../CustomImage/CustomImage";
|
||||||
import IcLiveShow from '../../../assets/images/tag/tag-liveshow.png';
|
import css from "./TItemCard.module.less";
|
||||||
import usePriceInfo from '../../hooks/usePriceInfo';
|
|
||||||
import { $L } from '../../utils/helperMethods';
|
|
||||||
import CustomImage from '../CustomImage/CustomImage';
|
|
||||||
import css from './TItemCard.module.less';
|
|
||||||
|
|
||||||
const SpottableComponent = Spottable("div");
|
const SpottableComponent = Spottable("div");
|
||||||
|
|
||||||
@@ -36,7 +27,6 @@ const IMAGETYPES = {
|
|||||||
imgVertical: "imgVertical",
|
imgVertical: "imgVertical",
|
||||||
};
|
};
|
||||||
|
|
||||||
// @@pyh Todo, 추후 다국어 resource 추가
|
|
||||||
const STRING_CONF = {
|
const STRING_CONF = {
|
||||||
SOLD_OUT: $L("SOLD OUT"),
|
SOLD_OUT: $L("SOLD OUT"),
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ const IMAGETYPES = {
|
|||||||
imgVertical: "imgVertical",
|
imgVertical: "imgVertical",
|
||||||
};
|
};
|
||||||
|
|
||||||
// @@pyh Todo, 추후 다국어 resource 추가
|
|
||||||
const STRING_CONF = {
|
const STRING_CONF = {
|
||||||
SOLD_OUT: $L("SOLD OUT"),
|
SOLD_OUT: $L("SOLD OUT"),
|
||||||
TOP: $L("TOP"),
|
TOP: $L("TOP"),
|
||||||
|
|||||||
Reference in New Issue
Block a user