Browse Source

fix(gui-v2): recreate style on column change

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2947/head
Pranav C 2 years ago
parent
commit
72bbc1342e
  1. 2
      packages/nc-gui-v2/composables/useGridViewColumnWidth.ts

2
packages/nc-gui-v2/composables/useGridViewColumnWidth.ts

@ -19,7 +19,7 @@ export function useGridViewColumnWidth(view: Ref<(GridType & { id?: string }) |
watch(
// todo : update type in swagger
() => [gridViewCols, resizingCol, resizingColWidth],
() => [gridViewCols, resizingCol, resizingColWidth, columns],
() => {
let style = ''
for (const c of columns?.value || []) {

Loading…
Cancel
Save