mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
fixes: which switches to the same page on page load event (#4981)
This commit is contained in:
parent
08174763fb
commit
973cc88c1a
1 changed files with 3 additions and 1 deletions
|
|
@ -18,6 +18,8 @@ export const SettingsModal = ({
|
|||
const [isSaving, _setIsSaving] = useState(false);
|
||||
console.log({ dataQueries });
|
||||
|
||||
const allpages = pages.filter((p) => p.id !== page.id);
|
||||
|
||||
return (
|
||||
<div onClick={(event) => event.stopPropagation()}>
|
||||
<Modal
|
||||
|
|
@ -66,7 +68,7 @@ export const SettingsModal = ({
|
|||
dataQueries={dataQueries}
|
||||
components={components}
|
||||
apps={apps}
|
||||
pages={pages}
|
||||
pages={allpages}
|
||||
eventsChanged={(events) => updateOnPageLoadEvents(page.id, events)}
|
||||
popOverCallback={(showing) => showing}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue