Reviewed-on: Pozomind/pozo-retail-app#287
This commit is contained in:
commit
d5f4bacc9f
|
|
@ -749,7 +749,6 @@ export const UserDataBasedOnBranchId = createAsyncThunk(
|
|||
export const getPreferenceData = createAsyncThunk(
|
||||
'BookingData/getPreferenceData',
|
||||
async ({ CompId, BranchId, AppId, UserId }) => {
|
||||
// debugger
|
||||
if (
|
||||
CompId != null &&
|
||||
CompId != undefined &&
|
||||
|
|
@ -2161,6 +2160,15 @@ const BookingData = createSlice({
|
|||
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