Browse Source

fix: error on initial undo of row height

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/5332/head
mertmit 1 year ago
parent
commit
c1d3b58fd2
  1. 2
      packages/nc-gui/components/smartsheet/toolbar/RowHeight.vue

2
packages/nc-gui/components/smartsheet/toolbar/RowHeight.vue

@ -28,7 +28,7 @@ const updateRowHeight = async (rh: number, undo = false) => {
},
undo: {
fn: (r: number) => updateRowHeight(r, true),
args: [(view.value.view as GridType).row_height],
args: [(view.value.view as GridType).row_height || 0],
},
scope: view.value?.title,
})

Loading…
Cancel
Save