File tree Expand file tree Collapse file tree
js-packages/admin-ui/src/pages/datasources/components/Sections Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ export function MonitoringTab({ id }: { id: string }) {
171171 < >
172172 < Button onClick = { ( ) => handleOpen ( "closeScheduling" , item . node . id ) } > Close</ Button >
173173 < Button onClick = { ( ) => handleOpen ( "cancelScheduling" , item . node . id ) } > Cancel</ Button >
174- < Button onClick = { ( ) => handleOpen ( "rerouteScheduling" , item . node . id ) } > Reroute </ Button >
174+ < Button onClick = { ( ) => handleOpen ( "rerouteScheduling" , item . node . id ) } > Reprocess failed messages </ Button >
175175 < Button onClick = { handleViewInfoClick } > View Info</ Button >
176176 </ >
177177 ) ;
@@ -182,7 +182,9 @@ export function MonitoringTab({ id }: { id: string }) {
182182
183183 const handleOpen = ( action : string , id : number ) => {
184184 setSchedulingId ( id ) ;
185- setModalMessage ( `Do you want to ${ action . replace ( "Scheduling" , "" ) . toLowerCase ( ) } this scheduling?` ) ;
185+ const actionLabel =
186+ action === "rerouteScheduling" ? "reprocess failed messages for" : action . replace ( "Scheduling" , "" ) . toLowerCase ( ) ;
187+ setModalMessage ( `Do you want to ${ actionLabel } this scheduling?` ) ;
186188 dataSourceInformationQuery . refetch ( ) ;
187189 dataSourceSchedulers . refetch ( ) ;
188190 setModalAction ( action ) ;
You can’t perform that action at this time.
0 commit comments