feat(ui): return to Flux Tasks page on exiting Flux Task Page

pull/5868/head
Pavel Zavora 2022-02-17 09:32:12 +01:00
parent 94138a52b1
commit 8101fbe805
1 changed files with 2 additions and 2 deletions

View File

@ -289,9 +289,9 @@ const FluxTaskPage: FC<Props> = ({source, params: {taskID, kid}, router}) => {
</Radio>
<button
className="btn btn-default btn-sm"
title="Return to Tasks"
title="Return to Flux Tasks"
onClick={() => {
router.push(`/sources/${source.id}/alert-rules`)
router.push(`/sources/${source.id}/flux-tasks`)
}}
>
Exit