Skip to content

Commit

Permalink
#25 project view doesnt crash if file was never selected
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom committed Sep 17, 2019
1 parent 07f71b8 commit 61967d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/projects/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<td><%= script.name %></td>
<td><%= script.frames %></td>
<td><%= File.basename(script.file) %></td>
<td><%= script.file.nil? ? "not selected" : File.basename(script.file) %></td>
<td><div id="script-<%= script.id %>-job-id"><%= script.latest_job_id %></div></td>

<td id="status_label_<%= script.id %>">
Expand Down

0 comments on commit 61967d2

Please sign in to comment.