check if show if false to add item on advanced modal
This commit is contained in:
parent
f1ef859374
commit
be25947f55
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ export default function NodeModal({ data }: { data: NodeDataType }) {
|
||||||
<div className="flex flex-col h-full gap-5">
|
<div className="flex flex-col h-full gap-5">
|
||||||
{
|
{
|
||||||
Object.keys(data.node.template)
|
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) => {
|
.map((t: string, idx) => {
|
||||||
return (
|
return (
|
||||||
<ModalField
|
<ModalField
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue