Skip to content

Commit d66093d

Browse files
committed
fix file system to ide updates for env and flowtest tabs
1 parent 1d7abdd commit d66093d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/stores/CollectionStore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const useCollectionStore = create((set, get) => ({
118118
// check if there are any open tabs, if yes mark them saved
119119
const tab = useTabStore.getState().tabs.find((t) => t.id === existingEnv.id);
120120
if (tab) {
121-
tab.variables = file.variables;
121+
tab.variables = cloneDeep(file.variables);
122122
tab.variablesDraft = null;
123123
}
124124
} else {

0 commit comments

Comments
 (0)