Added style that allows hiding config input component title and description (because advanced multi select has title and description built in)

This commit is contained in:
VakarisZ 2020-07-20 15:22:21 +03:00
parent fb9428b8a3
commit 35e90fc95d
2 changed files with 12 additions and 0 deletions

View File

@ -11,6 +11,7 @@ export default function UiSchema(props) {
monkey: {
general: {
post_breach_actions: {
classNames: 'config-template-no-header',
'ui:widget': AdvancedMultiSelect
}
},
@ -50,6 +51,7 @@ export default function UiSchema(props) {
},
system_info: {
system_info_collectors_classes: {
classNames: 'config-template-no-header',
'ui:widget': AdvancedMultiSelect
}
}
@ -59,6 +61,7 @@ export default function UiSchema(props) {
exploits: {
general: {
exploiter_classes: {
classNames: 'config-template-no-header',
'ui:widget': AdvancedMultiSelect
}
}
@ -69,6 +72,7 @@ export default function UiSchema(props) {
},
classes: {
finger_classes: {
classNames: 'config-template-no-header',
'ui:widget': AdvancedMultiSelect
}
}

View File

@ -25,3 +25,11 @@
.config-form .form-group {
margin-left: 2em;
}
.config-template-no-header>p{
display: none;
}
.config-template-no-header>label{
display: none;
}