feat(ui): keep search parameters when exiting tickscript page
parent
05a024dbbb
commit
aa76184860
|
@ -279,7 +279,9 @@ export class TickscriptPage extends PureComponent<Props, State> {
|
|||
router,
|
||||
} = this.props
|
||||
if (router.location.query?.l === 't') {
|
||||
return router.push(`/sources/${sourceID}/tickscripts`)
|
||||
return router.push(
|
||||
`/sources/${sourceID}/tickscripts${router.location.search}`
|
||||
)
|
||||
}
|
||||
return router.push(`/sources/${sourceID}/alert-rules`)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue