fixed wrong bolean logic, now show in modal only if show is true
This commit is contained in:
parent
1f9cc38fd8
commit
69c7bbb0a9
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">
|
||||
{
|
||||
Object.keys(data.node.template)
|
||||
.filter((t) => t.charAt(0) !== "_"&& data.node.template[t].advanced && !data.node.template[t].show)
|
||||
.filter((t) => t.charAt(0) !== "_"&& data.node.template[t].advanced && data.node.template[t].show)
|
||||
.map((t: string, idx) => {
|
||||
return (
|
||||
<ModalField
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue