mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
re-select the query if entities are mapped and updated the store
This commit is contained in:
parent
8e3f2ec474
commit
a2e32c9073
1 changed files with 1 additions and 0 deletions
|
|
@ -101,6 +101,7 @@ export const useDataQueriesStore = create(
|
|||
set({ dataQueries });
|
||||
if (type === 'mappingUpdate') {
|
||||
const { actions } = useQueryPanelStore.getState();
|
||||
actions.setSelectedQuery(null);
|
||||
const queryId = dataQueries[0]?.id;
|
||||
|
||||
actions.setSelectedQuery(queryId);
|
||||
|
|
|
|||
Loading…
Reference in a new issue