Fix #286 Plan Expire not open issue
This commit is contained in:
parent
63a3cd47c6
commit
06125757ac
|
|
@ -749,7 +749,6 @@ export const UserDataBasedOnBranchId = createAsyncThunk(
|
||||||
export const getPreferenceData = createAsyncThunk(
|
export const getPreferenceData = createAsyncThunk(
|
||||||
'BookingData/getPreferenceData',
|
'BookingData/getPreferenceData',
|
||||||
async ({ CompId, BranchId, AppId, UserId }) => {
|
async ({ CompId, BranchId, AppId, UserId }) => {
|
||||||
// debugger
|
|
||||||
if (
|
if (
|
||||||
CompId != null &&
|
CompId != null &&
|
||||||
CompId != undefined &&
|
CompId != undefined &&
|
||||||
|
|
@ -2161,6 +2160,15 @@ const BookingData = createSlice({
|
||||||
state.getmultipleSearchDatas = [];
|
state.getmultipleSearchDatas = [];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
builder.addCase(getAppSubscriptionDate.fulfilled, (state, action) => {
|
||||||
|
if (action?.payload?.data?.statusCode === 1) {
|
||||||
|
state.AppExpDateData =
|
||||||
|
action?.payload?.data?.data?.[0]|| {};
|
||||||
|
} else {
|
||||||
|
state.AppExpDateData = {};
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue