diff --git a/src/pages/taskQueue/index.tsx b/src/pages/taskQueue/index.tsx index 34164b6c42..2e9baf7b2e 100644 --- a/src/pages/taskQueue/index.tsx +++ b/src/pages/taskQueue/index.tsx @@ -48,7 +48,9 @@ const TaskQueue = () => { const firstDistroInList = taskQueueDistros[0]?.id; const defaultDistro = distro ?? firstDistroInList; setSelectedDistro(taskQueueDistros.find((d) => d.id === defaultDistro)); - navigate(getTaskQueueRoute(defaultDistro, taskId)); + if (distro === undefined) { + navigate(getTaskQueueRoute(defaultDistro, taskId)); + } }, onError: (err) => { dispatchToast.error(`There was an error loading distros: ${err.message}`);