aaaargh
This commit is contained in:
parent
41112a29b8
commit
e3bed1d789
@ -175,6 +175,8 @@ export default function Canvas(props) {
|
||||
increment: true,
|
||||
},
|
||||
],
|
||||
comment: "",
|
||||
indices: [],
|
||||
};
|
||||
props.setTables((prev) => [...prev, newTable]);
|
||||
props.setCode((prev) =>
|
||||
|
@ -94,6 +94,8 @@ export default function EditorPanel(props) {
|
||||
increment: true,
|
||||
},
|
||||
],
|
||||
comment: "",
|
||||
indices: [],
|
||||
};
|
||||
props.setTables((prev) => {
|
||||
const updatedTables = [...prev, newTable];
|
||||
@ -149,6 +151,8 @@ export default function EditorPanel(props) {
|
||||
increment: true,
|
||||
},
|
||||
],
|
||||
comment: "",
|
||||
indices: [],
|
||||
};
|
||||
props.setTables((prev) => [...prev, newTable]);
|
||||
});
|
||||
|
@ -75,7 +75,7 @@ export default function Table(props) {
|
||||
setVisible(false);
|
||||
};
|
||||
|
||||
const height = props.tableData.fields.length * 36 + 40 + 4;
|
||||
const height = props.tableData.fields.length * 36 + 40 + 4 + 36;
|
||||
|
||||
const onCheck = (checkedValues) => {
|
||||
setField({
|
||||
@ -281,6 +281,9 @@ export default function Table(props) {
|
||||
</Popover>
|
||||
);
|
||||
})}
|
||||
<div className="h-[36px] p-2">
|
||||
{ props.tableData.comment===""? "No comment": props.tableData.comment}
|
||||
</div>
|
||||
</div>
|
||||
</foreignObject>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user