aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src/components
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2020-03-13 15:27:41 -0700
committersebdet <sebastien.determe@intl.att.com>2020-03-16 06:30:33 -0700
commit49ab84a916e96fde4fc39258fa10f8b5ce775f48 (patch)
tree4a82e5adccade8fc1d660172662efb7f043bfbee /ui-react/src/components
parent723de7f63f0951d0cfe7a23956cf9d00128809b1 (diff)
Fix the legacy policies
Fix the legacy policies not displayed in the UI properly due to the new PolicyModal dialog. Issue-ID: CLAMP-779 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I8070d8c57e43c9a386e09475f0d377f91104aef1
Diffstat (limited to 'ui-react/src/components')
-rw-r--r--ui-react/src/components/dialogs/Policy/PolicyModal.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/ui-react/src/components/dialogs/Policy/PolicyModal.js b/ui-react/src/components/dialogs/Policy/PolicyModal.js
index 08bc8e0de..7151725c3 100644
--- a/ui-react/src/components/dialogs/Policy/PolicyModal.js
+++ b/ui-react/src/components/dialogs/Policy/PolicyModal.js
@@ -112,12 +112,15 @@ export default class PolicyModal extends React.Component {
disable_array_reorder: true,
disable_array_delete_last_row: true,
disable_array_delete_all_rows: false,
- no_additional_properties: true,
+ array_controls_top: true,
+ keep_oneof_values: false,
+ collapsed:true,
show_errors: 'always',
display_required_only: false,
show_opt_in: true,
prompt_before_delete: true,
- required_by_default: false
+ required_by_default: false,
+ array_controls_top: true
})
}