From 2cc3be2ee48ae0465aaae109f9845803f068f570 Mon Sep 17 00:00:00 2001 From: Yulia Shanyrova Date: Wed, 17 May 2023 13:36:41 +0200 Subject: [PATCH] Integration input field fix (#1955) Integration input field fix --- .../components/IntegrationInputField/IntegrationInputField.tsx | 2 +- .../src/containers/IntegrationForm/IntegrationForm2.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/grafana-plugin/src/components/IntegrationInputField/IntegrationInputField.tsx b/grafana-plugin/src/components/IntegrationInputField/IntegrationInputField.tsx index f7087f87..3f3992ae 100644 --- a/grafana-plugin/src/components/IntegrationInputField/IntegrationInputField.tsx +++ b/grafana-plugin/src/components/IntegrationInputField/IntegrationInputField.tsx @@ -48,7 +48,7 @@ const IntegrationInputField: React.FC = ({ ); function renderInputField() { - return ; + return ; } function onInputReveal() { diff --git a/grafana-plugin/src/containers/IntegrationForm/IntegrationForm2.tsx b/grafana-plugin/src/containers/IntegrationForm/IntegrationForm2.tsx index 28f095d7..d565ee50 100644 --- a/grafana-plugin/src/containers/IntegrationForm/IntegrationForm2.tsx +++ b/grafana-plugin/src/containers/IntegrationForm/IntegrationForm2.tsx @@ -60,7 +60,6 @@ const IntegrationForm2 = observer((props: IntegrationFormProps) => { ? alertReceiveChannelStore .create(data) .then((response) => { - onHide(); history.push(`${PLUGIN_ROOT}/integrations_2/${response.id}`); }) .catch(() => {