Skip to content

Commit

Permalink
Load vFire method_data fields when opening EditAlertDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
swaterkamp committed Dec 19, 2018
1 parent 88bafbb commit 843fa9b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions gsa/src/web/pages/alerts/dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ class AlertDialog extends React.Component {
...DEFAULTS,
...alert,
report_format_ids,
method_data_vfire_session_type,
};

for (const [key, value] of Object.entries(props)) {
Expand All @@ -419,6 +420,14 @@ class AlertDialog extends React.Component {
method_data_tp_sms_credential,
method_data_verinice_server_credential,
method_data_vfire_credential,
method_data_vfire_base_url,
method_data_vfire_client_id,
method_data_vfire_call_partition_name,
method_data_vfire_call_description,
method_data_vfire_call_template_name,
method_data_vfire_call_type_name,
method_data_vfire_call_impact_name,
method_data_vfire_call_urgency_name,
};

return (
Expand Down

0 comments on commit 843fa9b

Please sign in to comment.