Skip to content

Commit

Permalink
Remove to_json from toolbar data as it's not needed
Browse files Browse the repository at this point in the history
After ManageIQ/manageiq-ui-classic#5997 `to_json` is not needed and will break the data format.

Related to ManageIQ/manageiq-ui-classic#6289 fix
  • Loading branch information
ZitaNemeckova committed Oct 10, 2019
1 parent 32447b4 commit 1de42e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class NetworkRouterCenter < ::ApplicationHelper::Toolbar::Override
'function-data' => {:controller => 'provider_dialogs',
:button => :nuage_create_cloud_subnet,
:modal_title => N_('Create L3 Cloud Subnet'),
:component_name => 'CreateNuageCloudSubnetForm'}.to_json},
:component_name => 'CreateNuageCloudSubnetForm'}},
:klass => ApplicationHelper::Button::ButtonWithoutRbacCheck
),
]
Expand Down

0 comments on commit 1de42e8

Please sign in to comment.