Skip to content

Commit

Permalink
Fix log not loading when '&' in name
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucaslah committed Aug 7, 2024
1 parent d81fb49 commit ba00d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/molecules/NodeStatusTableRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function NodeStatusTableRow({
file,
onRequireModal,
}: Props) {
const url = `/dags/${name}/log?file=${file}&step=${node.Step.Name}`;
const url = `/dags/${name}/log?file=${file}&step=${encodeURIComponent(node.Step.Name)}`;
const buttonStyle = {
margin: '0px',
padding: '0px',
Expand Down

0 comments on commit ba00d90

Please sign in to comment.