check if show if false to add item on advanced modal

This commit is contained in:
anovazzi1 2023-04-27 19:36:37 -03:00
commit be25947f55

View file

@ -89,7 +89,7 @@ export default function NodeModal({ data }: { data: NodeDataType }) {
<div className="flex flex-col h-full gap-5">
{
Object.keys(data.node.template)
.filter((t) => t.charAt(0) !== "_"&& data.node.template[t].advanced)
.filter((t) => t.charAt(0) !== "_"&& data.node.template[t].advanced && !data.node.template[t].show)
.map((t: string, idx) => {
return (
<ModalField