Skip to content

Commit 130e81b

Browse files
committed
fix: allow editing failed containers
1 parent ea4b1d7 commit 130e81b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

create-a-container/views/containers/index.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<td><%= r.sshPort || '-' %></td>
7070
<td><%= r.httpPort || '-' %></td>
7171
<td>
72-
<% if (r.status === 'running') { %>
72+
<% if (r.status === 'running' || r.status === 'failed') { %>
7373
<a href="/sites/<%= site.id %>/containers/<%= r.id %>/edit" class="btn btn-primary btn-sm" aria-label="Edit services for container <%= r.hostname %>">Edit</a>
7474
<% } %>
7575
<form method="POST" action="/sites/<%= site.id %>/containers/<%= r.id %>" style="display: inline;" onsubmit="return confirm('Are you sure you want to delete container <%= r.hostname %>? This action cannot be undone.');">

0 commit comments

Comments
 (0)