fixes: on reload of apps subcontainer children position changes

This commit is contained in:
arpitnath 2024-05-07 03:56:23 +05:30 committed by Kavin Venkatachalam
parent d6ca463938
commit e89a1e4c9e

View file

@ -54,7 +54,7 @@ export class ComponentsService {
newLayout.width = layout.width;
newLayout.height = layout.height;
newLayout.component = component;
newLayout.dimensionUnit = LayoutDimensionUnits.PERCENT;
newLayout.dimensionUnit = LayoutDimensionUnits.COUNT;
componentLayouts.push(newLayout);
}