From 3ac50bd87fbd3a9d1da6c8413bbb34aa5d957abb Mon Sep 17 00:00:00 2001 From: Dhamo1107 Date: Wed, 17 Jul 2024 17:32:09 +0530 Subject: [PATCH] Fixed rubocop error --- app/views/cloud_tenant/show.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"'