|
@@ -30,7 +30,7 @@ import LoadingButton from '../../molecules/LoadingButton'
|
|
|
import type { Endpoint as EndpointType } from '../../../types/Endpoint'
|
|
import type { Endpoint as EndpointType } from '../../../types/Endpoint'
|
|
|
import type { Field } from '../../../types/Field'
|
|
import type { Field } from '../../../types/Field'
|
|
|
import notificationStore from '../../../stores/NotificationStore'
|
|
import notificationStore from '../../../stores/NotificationStore'
|
|
|
-import endpointStore from '../../../stores/EndpointStore'
|
|
|
|
|
|
|
+import endpointStore, { passwordFields } from '../../../stores/EndpointStore'
|
|
|
import providerStore from '../../../stores/ProviderStore'
|
|
import providerStore from '../../../stores/ProviderStore'
|
|
|
import ObjectUtils from '../../../utils/ObjectUtils'
|
|
import ObjectUtils from '../../../utils/ObjectUtils'
|
|
|
import Palette from '../../styleUtils/Palette'
|
|
import Palette from '../../styleUtils/Palette'
|
|
@@ -387,6 +387,7 @@ class Endpoint extends React.Component<Props, State> {
|
|
|
validating: this.state.validating,
|
|
validating: this.state.validating,
|
|
|
disabled: this.state.validating,
|
|
disabled: this.state.validating,
|
|
|
cancelButtonText: this.props.cancelButtonText,
|
|
cancelButtonText: this.props.cancelButtonText,
|
|
|
|
|
+ passwordFields,
|
|
|
getFieldValue: field => this.getFieldValue(field),
|
|
getFieldValue: field => this.getFieldValue(field),
|
|
|
highlightRequired: () => this.highlightRequired(),
|
|
highlightRequired: () => this.highlightRequired(),
|
|
|
handleFieldChange: (field, value) => { if (field) this.handleFieldsChange([{ field, value }]) },
|
|
handleFieldChange: (field, value) => { if (field) this.handleFieldsChange([{ field, value }]) },
|