From 06125757acfd5edc0de98e5512a0ba7faf0d50fa Mon Sep 17 00:00:00 2001 From: karthikalakshmi Date: Wed, 18 Mar 2026 19:03:17 +0530 Subject: [PATCH] Fix #286 Plan Expire not open issue --- src/Features/BookingScreen/BookingData/BookingData.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/Features/BookingScreen/BookingData/BookingData.js b/src/Features/BookingScreen/BookingData/BookingData.js index 9fe6271..1e02bcc 100644 --- a/src/Features/BookingScreen/BookingData/BookingData.js +++ b/src/Features/BookingScreen/BookingData/BookingData.js @@ -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 = {}; + } + }); + }, });