From 6875e3705f8bdfe9ddde0f35434900a0b41e077e Mon Sep 17 00:00:00 2001 From: Nakul Nagargade <133095394+nakulnagargade@users.noreply.github.com> Date: Tue, 17 Oct 2023 13:36:36 +0530 Subject: [PATCH] fix event param not updating (#7902) --- .../Editor/Inspector/ActionConfigurationPanels/GotoApp.jsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/frontend/src/Editor/Inspector/ActionConfigurationPanels/GotoApp.jsx b/frontend/src/Editor/Inspector/ActionConfigurationPanels/GotoApp.jsx index 3c8636d647..d42ebee133 100644 --- a/frontend/src/Editor/Inspector/ActionConfigurationPanels/GotoApp.jsx +++ b/frontend/src/Editor/Inspector/ActionConfigurationPanels/GotoApp.jsx @@ -6,10 +6,8 @@ import { useTranslation } from 'react-i18next'; export function GotoApp({ getAllApps, event, handlerChanged, eventIndex, darkMode }) { const queryParamChangeHandler = (index, key, value) => { - if (event?.queryParams?.[index]?.[key]) { - event.queryParams[index][key] = value; - handlerChanged(eventIndex, 'queryParams', event.queryParams); - } + event.queryParams[index][key] = value; + handlerChanged(eventIndex, 'queryParams', event.queryParams); }; const { t } = useTranslation();