parent
e97826df94
commit
2cc3be2ee4
2 changed files with 1 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ const IntegrationInputField: React.FC<IntegrationInputFieldProps> = ({
|
|||
);
|
||||
|
||||
function renderInputField() {
|
||||
return <Input className={cx('input')} value={isInputMasked ? value.replace(/./g, '*') : value} disabled />;
|
||||
return <Input className={cx('input')} value={isInputMasked ? value?.replace(/./g, '*') : value} disabled />;
|
||||
}
|
||||
|
||||
function onInputReveal() {
|
||||
|
|
|
|||
|
|
@ -60,7 +60,6 @@ const IntegrationForm2 = observer((props: IntegrationFormProps) => {
|
|||
? alertReceiveChannelStore
|
||||
.create(data)
|
||||
.then((response) => {
|
||||
onHide();
|
||||
history.push(`${PLUGIN_ROOT}/integrations_2/${response.id}`);
|
||||
})
|
||||
.catch(() => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue