Skip to content

Commit

Permalink
feat(frontend): Fix insertNewGridITem
Browse files Browse the repository at this point in the history
  • Loading branch information
fatonramadani committed May 15, 2024
1 parent 018815e commit 7ae5e5d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/lib/components/apps/editor/appUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,6 @@ export function insertNewGridItem(

let grid = focusedGrid ? app.subgrids[key!] : app.grid

data.fullHeight = false

const newItem = createNewGridItem(grid, id, data, columns)
grid.push(newItem)
return id
Expand All @@ -443,6 +441,7 @@ export function copyComponent(
const newItem = insertNewGridItem(
app,
(id) => {
item.data.fullHeight = false
if (item.data.type === 'tablecomponent') {
return {
...item.data,
Expand Down

0 comments on commit 7ae5e5d

Please sign in to comment.