Initial Skynet premium portal suppport
This commit is contained in:
@@ -7,6 +7,7 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
import { notifyError, notifyInfo } from '../../../redux/actions/error_actions';
|
||||
import settings from '../../../assets/settings';
|
||||
import DropDown from '../../../components/UI/DropDown/DropDown';
|
||||
import HostList from '../../HostList/HostList';
|
||||
import Password from '../../../containers/UI/Password/Password';
|
||||
|
||||
const mapDispatchToProps = (dispatch) => {
|
||||
@@ -80,6 +81,25 @@ export default connect(
|
||||
);
|
||||
break;
|
||||
|
||||
case 'host_list':
|
||||
data = (
|
||||
<HostList
|
||||
autoFocus={props.autoFocus}
|
||||
disabled={props.readOnly}
|
||||
onChange={(items) =>
|
||||
handleChanged({
|
||||
target: {
|
||||
type: 'host_list',
|
||||
value: items,
|
||||
},
|
||||
})
|
||||
}
|
||||
type={props.template.subtype}
|
||||
value={props.value}
|
||||
/>
|
||||
);
|
||||
break;
|
||||
|
||||
case 'list':
|
||||
data = (
|
||||
<DropDown
|
||||
|
||||
Reference in New Issue
Block a user