Skip to content

Commit 50c347d

Browse files
authored
toil(front): treat ppl name as a plain txt (#445)
## πŸ“ Description Render the pipeline name as a plain text. ## βœ… Checklist - [x] I have tested this change - [ ] ~This change requires documentation update~
1 parent 3dc98d6 commit 50c347d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

β€Žfront/assets/js/test_results/util/interactive_pipeline_tree.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export const InteractivePipelineTree = (props: Props) => {
9999
<div className="inline-flex items-center">
100100
<div className="flex-auto" dangerouslySetInnerHTML={{ __html: pipelineStatus }}>
101101
</div>
102-
<span className="b" dangerouslySetInnerHTML={{ __html: pipelineName }}></span>
102+
<span className="b">{pipelineName}</span>
103103
</div>
104104
<img className="ml1" src="/projects/assets/images/icn-arrow-down.svg"/>
105105
</div>

β€Žfront/lib/front_web/templates/test_results/member/pipeline.html.eex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
window.InjectedDataByBackend.pollURL = "<%= workflow_path(@conn, :status, @workflow.id) %>";
99
window.InjectedDataByBackend.pipelineId = "<%= @selected_pipeline_id %>";
1010
window.InjectedDataByBackend.pipelineStatus = "<%= raw FrontWeb.PipelineView.pipeline_status_large(@pipeline) %>";
11-
window.InjectedDataByBackend.pipelineName = "<%= @pipeline.name %>"
11+
window.InjectedDataByBackend.pipelineName = "<%= raw @pipeline.name %>";
1212
</script>
1313

1414
<div id="test-results" class="no-ligatures">

0 commit comments

Comments
Β (0)