test, deleted system alert
This commit is contained in:
@@ -402,6 +402,7 @@ export const searchReservation = (chanId) => (dispatch) => {
|
||||
lunaSend.searchReservation(chanId, {
|
||||
onSuccess: (res) => {
|
||||
console.log(res);
|
||||
dispatch(alertToast(res));
|
||||
|
||||
let items = [];
|
||||
res.result.forEach((item) => {
|
||||
@@ -433,6 +434,7 @@ export const searchReservation = (chanId) => (dispatch) => {
|
||||
},
|
||||
onFailure: (err) => {
|
||||
console.log(err);
|
||||
dispatch(alertToast(err));
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
@@ -102,6 +102,15 @@ export const setMainLiveUpcomingAlarm = (props) => (dispatch, getState) => {
|
||||
}
|
||||
//
|
||||
else if (alamDispFlag === "N") {
|
||||
// dispatch(deleteReservation(showId, {
|
||||
// onSuccess: (res) => {
|
||||
// console.log("LUNA SEND deleteReservation success", res);
|
||||
// },
|
||||
// onFailure: (err) => {
|
||||
// console.log("LUNA SEND deleteReservation failed", err);
|
||||
// },
|
||||
// }))
|
||||
|
||||
dispatch(
|
||||
searchReservation(chanId, {
|
||||
onSuccess: (res) => {
|
||||
|
||||
Reference in New Issue
Block a user