mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 00:48:25 +00:00
Fixes widgets not being dropped in the canvas (#1075)
This commit is contained in:
parent
af5804776e
commit
a42f1278d9
1 changed files with 1 additions and 1 deletions
|
|
@ -254,7 +254,7 @@ export const Container = ({
|
|||
|
||||
return (
|
||||
<div ref={drop} style={styles} className={`real-canvas ${isDragging || isResizing ? 'show-grid' : ''}`}>
|
||||
{Object.keys(boxes).forEach((key) => {
|
||||
{Object.keys(boxes).map((key) => {
|
||||
const box = boxes[key];
|
||||
const canShowInCurrentLayout =
|
||||
box.component.definition.others[currentLayout === 'mobile' ? 'showOnMobile' : 'showOnDesktop'].value;
|
||||
|
|
|
|||
Loading…
Reference in a new issue