Skip to content

Commit

Permalink
Merge pull request #3271 from lohxt1/main
Browse files Browse the repository at this point in the history
fix: copy global env
  • Loading branch information
lohxt1 authored Oct 8, 2024
2 parents ec5c593 + d481456 commit c0dc329
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export const copyGlobalEnvironment = ({ name, environmentUid: baseEnvUid }) => (
const baseEnv = globalEnvironments?.find(env => env?.uid == baseEnvUid)
const uid = uuid();
ipcRenderer
.invoke('renderer:create-global-environment', { name, variables: baseEnv.variables })
.invoke('renderer:create-global-environment', { uid, name, variables: baseEnv.variables })
.then(() => {
dispatch(_copyGlobalEnvironment({ name, uid, variables: baseEnv.variables }))
})
Expand Down

0 comments on commit c0dc329

Please sign in to comment.