mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
fix event param not updating (#7902)
This commit is contained in:
parent
40323decef
commit
6875e3705f
1 changed files with 2 additions and 4 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue