File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -423,6 +423,8 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
423
423
}
424
424
} ) ;
425
425
resetListState ( ) ;
426
+ stopPaginationMode ( ) ;
427
+ stopLimitMode ( ) ;
426
428
setShowPaginationOptions ( false ) ;
427
429
setShowLimitOptions ( false ) ;
428
430
setCaptureStage ( 'initial' ) ;
Original file line number Diff line number Diff line change @@ -68,7 +68,10 @@ export const ActionProvider = ({ children }: { children: ReactNode }) => {
68
68
socket ?. emit ( 'setPaginationMode' , { pagination : true } ) ;
69
69
} ;
70
70
71
- const stopPaginationMode = ( ) => setPaginationMode ( false ) ;
71
+ const stopPaginationMode = ( ) => {
72
+ setPaginationMode ( false ) ;
73
+ socket ?. emit ( 'setPaginationMode' , { pagination : false } ) ;
74
+ } ;
72
75
73
76
const startLimitMode = ( ) => {
74
77
setLimitMode ( true ) ;
@@ -88,6 +91,7 @@ export const ActionProvider = ({ children }: { children: ReactNode }) => {
88
91
89
92
const stopGetList = ( ) => {
90
93
setGetList ( false ) ;
94
+ socket ?. emit ( 'setGetList' , { getList : false } ) ;
91
95
setPaginationType ( '' ) ;
92
96
setLimitType ( '' ) ;
93
97
setCustomLimit ( '' ) ;
You can’t perform that action at this time.
0 commit comments