mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-22 00:19:04 +00:00
Sync variables and page variables with autocomplete
This commit is contained in:
parent
20c5de4140
commit
09cf603d0b
1 changed files with 2 additions and 0 deletions
|
|
@ -125,6 +125,7 @@ export const createResolvedSlice = (set, get) => ({
|
|||
'setVariables'
|
||||
);
|
||||
get().updateDependencyValues(`variables.${key}`);
|
||||
get().checkAndSetTrueBuildSuggestionsFlag();
|
||||
},
|
||||
|
||||
getVariable: (key, moduleId = 'canvas') => {
|
||||
|
|
@ -153,6 +154,7 @@ export const createResolvedSlice = (set, get) => ({
|
|||
'setPageVariable'
|
||||
);
|
||||
get().updateDependencyValues(`page.variables.${key}`);
|
||||
get().checkAndSetTrueBuildSuggestionsFlag();
|
||||
},
|
||||
|
||||
getPageVariable: (key, moduleId = 'canvas') => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue