From addf9f0b4a522f95f8526bb9a0beb2408197519a Mon Sep 17 00:00:00 2001 From: Itay Mizeretz Date: Mon, 18 Sep 2017 18:35:33 +0300 Subject: [PATCH] Fixed bug that definitions where not found --- monkey_island/cc/ui/src/components/pages/ConfigurePage.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/monkey_island/cc/ui/src/components/pages/ConfigurePage.js b/monkey_island/cc/ui/src/components/pages/ConfigurePage.js index d3e8d7eb8..3f090fda9 100644 --- a/monkey_island/cc/ui/src/components/pages/ConfigurePage.js +++ b/monkey_island/cc/ui/src/components/pages/ConfigurePage.js @@ -55,6 +55,8 @@ class ConfigurePageComponent extends React.Component { }; render() { + let displayedSchema = this.state.schema["properties"][this.state.selectedSection]; + displayedSchema["definitions"] = this.state.schema["definitions"]; return (

Monkey Configuration

@@ -68,7 +70,7 @@ class ConfigurePageComponent extends React.Component { { this.state.selectedSection ? -
: ''}