diff --git a/app/views/cloud_tenant/show.html.haml b/app/views/cloud_tenant/show.html.haml index d56385e7152..3dda82fdc89 100644 --- a/app/views/cloud_tenant/show.html.haml +++ b/app/views/cloud_tenant/show.html.haml @@ -6,7 +6,8 @@ - arr.concat(%w[security_groups security_policies cloud_object_store_containers cloud_volumes cloud_volume_snapshots custom_button_events]) - if arr.include?(@display) && @showtype != "compare" .display-search-bar - = react('SearchBar', :searchText => @search_text, :action => 'show', :advancedSearch => false) + = react('SearchBar', :searchText => @search_text, :action => 'show', + :advancedSearch => false) = render :partial => "layouts/gtl", :locals => {:action_url => "show/#{@record.id}"} - elsif @showtype == "compare" = raise 'compare partial called through "show"'