feat: added filter options for learner posts (#340)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
This commit is contained in:
committed by
GitHub
parent
12dd08d97f
commit
7ced4b292c
@@ -61,6 +61,9 @@ const threadsSlice = createSlice({
|
||||
}
|
||||
state.status = RequestStatus.IN_PROGRESS;
|
||||
},
|
||||
clearPostsPages: (state) => {
|
||||
state.pages = [];
|
||||
},
|
||||
fetchThreadsRequest: (state) => {
|
||||
state.status = RequestStatus.IN_PROGRESS;
|
||||
},
|
||||
@@ -242,6 +245,7 @@ export const {
|
||||
showPostEditor,
|
||||
hidePostEditor,
|
||||
clearRedirect,
|
||||
clearPostsPages,
|
||||
} = threadsSlice.actions;
|
||||
|
||||
export const threadsReducer = threadsSlice.reducer;
|
||||
|
||||
Reference in New Issue
Block a user