diff --git a/app/views/clients/index.html.erb b/app/views/clients/index.html.erb
index 14cbb40..a69f3e9 100644
--- a/app/views/clients/index.html.erb
+++ b/app/views/clients/index.html.erb
@@ -1,50 +1,51 @@
<%= link_to 'New Client', new_host_path, class: 'btn btn-primary', role: 'button' %>
My Bacula Clients
Name |
Uname |
Active Jobs |
Last Backup |
FileRetention (days) |
JobRetention (days) |
Space Used |
File count |
AutoPrune |
<%= render partial: 'client', collection: @clients %>
-My Pending Hosts
+<% if @hosts.any? %>
+ My Pending Hosts
Name |
FQDN |
Port |
Password |
FileRetention (days) |
JobRetention (days) |
AutoPrune |
Created At |
<%= render partial: 'hosts/host', collection: @hosts %>