Skip to content

Commit

Permalink
Fill group_id when widget set is saved in dashboard.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
lpichler committed Jan 8, 2021
1 parent 73342d9 commit c6d4ad1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/report_controller/dashboards.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def db_edit
if params[:button] == "add"
g = MiqGroup.find(@sb[:nodes][2])
@dashboard.owner = g
@dashboard.group_id = g.id
end
if @flash_array.nil? && @dashboard.save
db_save_members
Expand Down

0 comments on commit c6d4ad1

Please sign in to comment.