Skip to content

Commit 338d90d

Browse files
GilbertCherrieJohannes Übleis
andcommitted
Fix missing vms table
Co-Authored-By: Johannes Übleis <[email protected]>
1 parent 4df991e commit 338d90d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

app/controllers/service_controller.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ def show_list
1616
process_show_list(:dbname => :service, :gtl_dbname => :service)
1717
end
1818

19+
def show
20+
super
21+
if params[:display] != 'generic_objects' && params[:display] != 'custom_button_events'
22+
@options = {}
23+
@view, @pages = get_view(Vm, :parent => @record, :parent_method => :all_vms, :all_pages => true)
24+
end
25+
end
26+
1927
def button
2028
case params[:pressed]
2129
when 'service_tag'

0 commit comments

Comments
 (0)