From c9468b8600ae75d3698570108f6af5ad6148239c Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Fri, 24 Jul 2020 09:18:56 +0300 Subject: [PATCH] Changed empty checkbox UI to unfilled in AdvancedMultiSelect.js --- .../ui/src/components/ui-components/AdvancedMultiSelect.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/components/ui-components/AdvancedMultiSelect.js b/monkey/monkey_island/cc/ui/src/components/ui-components/AdvancedMultiSelect.js index 03b4935f2..9c1468d8d 100644 --- a/monkey/monkey_island/cc/ui/src/components/ui-components/AdvancedMultiSelect.js +++ b/monkey/monkey_island/cc/ui/src/components/ui-components/AdvancedMultiSelect.js @@ -2,7 +2,8 @@ import React, {useState} from 'react'; import {Card, Button, Form} from 'react-bootstrap'; import {FontAwesomeIcon} from '@fortawesome/react-fontawesome'; -import {faSquare, faCheckSquare} from '@fortawesome/free-solid-svg-icons'; +import {faCheckSquare} from '@fortawesome/free-solid-svg-icons'; +import {faSquare} from '@fortawesome/free-regular-svg-icons'; import {cloneDeep} from 'lodash'; import {getComponentHeight} from './utils/HeightCalculator'; @@ -37,7 +38,7 @@ function getFullDefinitionsFromRegistry(refString, registry) { function getObjectFromRegistryByRef(refString, registry) { let refArray = refString.replace('#', '').split('/'); - return resolveObjectPath(refArray, registry); + return resolveObjectPath(refArray, registry); } function getFullDefinitionByKey(refString, registry, itemKey) { @@ -50,7 +51,7 @@ function setPaneInfo(refString, registry, itemKey, setPaneInfoFnc) { setPaneInfoFnc({title: definitionObj.title, content: definitionObj.info, link: definitionObj.link}); } -function getDefaultPaneParams(refString, registry){ +function getDefaultPaneParams(refString, registry) { let configSection = getObjectFromRegistryByRef(refString, registry); return ({title: configSection.title, content: configSection.description}); }