Browse Source

feat: inherit row height on duplicate view

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/4840/head
mertmit 2 years ago
parent
commit
018944db3d
  1. 1
      packages/nocodb/src/lib/models/View.ts

1
packages/nocodb/src/lib/models/View.ts

@ -299,6 +299,7 @@ export default class View implements ViewType {
case ViewTypes.GRID: case ViewTypes.GRID:
await GridView.insert( await GridView.insert(
{ {
...(copyFromView?.view as GridView || {}),
...(view as GridView), ...(view as GridView),
fk_view_id: view_id, fk_view_id: view_id,
}, },

Loading…
Cancel
Save