Skip to content

Commit

Permalink
fix: pass wrong grid unit error
Browse files Browse the repository at this point in the history
  • Loading branch information
ChangChiTW committed Nov 8, 2022
1 parent 7929a96 commit 7414530
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/store/actions/projectAct.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ const projectActions = {
const dataElectrode = generateEWD(state)

const ewd = {
electrode_size: state.app.originalGridUnit,
electrode_size: state.app.gridUnit.origin,
unit: 4,
output_format: 'ecc_pattern',
ewd_content: dataElectrode
Expand Down Expand Up @@ -216,7 +216,7 @@ const projectActions = {
const dataElectrode = generateEWD(state)

const ewd = {
electrode_size: state.app.originalGridUnit,
electrode_size: state.app.gridUnit.origin,
unit: 4,
output_format: 'dxf',
ewd_content: dataElectrode
Expand Down Expand Up @@ -247,7 +247,7 @@ const projectActions = {
const dataElectrode = generateEWD(state)

const ewd = {
electrode_size: state.app.originalGridUnit,
electrode_size: state.app.gridUnit.origin,
unit: 4,
output_format: 'svg',
ewd_content: dataElectrode
Expand Down

0 comments on commit 7414530

Please sign in to comment.