From f70b2240e1cc2947dc824ec855ea237e4594c875 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Tue, 21 Jul 2020 10:43:37 +0300 Subject: [PATCH] Hid "Is monkey alive" field in configuration --- .../cc/ui/src/components/configuration-components/UiSchema.js | 3 +++ .../cc/ui/src/styles/pages/ConfigurationPage.scss | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/monkey/monkey_island/cc/ui/src/components/configuration-components/UiSchema.js b/monkey/monkey_island/cc/ui/src/components/configuration-components/UiSchema.js index 1e06b479a..f28393d1d 100644 --- a/monkey/monkey_island/cc/ui/src/components/configuration-components/UiSchema.js +++ b/monkey/monkey_island/cc/ui/src/components/configuration-components/UiSchema.js @@ -10,6 +10,9 @@ export default function UiSchema(props) { basic_network: {}, monkey: { general: { + alive: { + classNames: 'config-field-hidden' + }, post_breach_actions: { classNames: 'config-template-no-header', 'ui:widget': AdvancedMultiSelect diff --git a/monkey/monkey_island/cc/ui/src/styles/pages/ConfigurationPage.scss b/monkey/monkey_island/cc/ui/src/styles/pages/ConfigurationPage.scss index c8f710d32..48b168476 100644 --- a/monkey/monkey_island/cc/ui/src/styles/pages/ConfigurationPage.scss +++ b/monkey/monkey_island/cc/ui/src/styles/pages/ConfigurationPage.scss @@ -44,3 +44,7 @@ margin-bottom: 5px; font-size: 1.2em; } + +.config-field-hidden { + display: none; +}