Skip to content

Commit

Permalink
fix: 🐛 Fixed issue with name not displaying on workflow show page (#857)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshsadam authored Dec 6, 2024
1 parent 676e08e commit 5e04be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/workflow_executions/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<%= turbo_frame_tag "export_dialog" %>

<%= render Viral::PageHeaderComponent.new(title: @workflow_execution.name || @workflow_execution.metadata["workflow_name"], id: @workflow_execution.id, id_color: find_pill_color_for_state(@workflow_execution.state)) do |component| %>
<%= render Viral::PageHeaderComponent.new(title: @workflow_execution.name.blank? ? @workflow_execution.metadata["workflow_name"] : @workflow_execution.name, id: @workflow_execution.id, id_color: find_pill_color_for_state(@workflow_execution.state)) do |component| %>
<%= component.with_icon(name: "beaker", classes: "h-14 w-14 text-primary-700") %>
<%= component.with_buttons do %>
<div class="flex flex-row">
Expand Down

0 comments on commit 5e04be1

Please sign in to comment.