fix: fixed issue that caused grid to be editable post release

This commit is contained in:
Johnson Cherian 2023-12-21 10:56:16 +05:30
parent f2c182617f
commit 4dfe3bae4c

View file

@ -769,7 +769,7 @@ export const Container = ({
autoComputeLayout={appDefinition.pages[currentPageId]?.autoComputeLayout}
setDraggedSubContainer={setDraggedSubContainer}
draggedSubContainer={draggedSubContainer}
mode={mode}
mode={isVersionReleased ? 'view' : mode}
/>
{Object.keys(boxes).length === 0 && !appLoading && !isDragging && (
<div style={{ paddingTop: '10%' }}>