Skip to content

Commit

Permalink
Fixed rubocop error
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhamo1107 committed Jul 17, 2024
1 parent c029c79 commit 3ac50bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/cloud_tenant/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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"'
Expand Down

0 comments on commit 3ac50bd

Please sign in to comment.