mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 16:02:15 +00:00
Fixed multiple display of child software
This commit is contained in:
@@ -543,8 +543,8 @@ export const CoreFilterCmpt = {
|
||||
// create children array if not done yet
|
||||
if (!parent._children) parent._children = [];
|
||||
|
||||
// append the child
|
||||
parent._children.push(child);
|
||||
// if child is not included in children array, append the child
|
||||
if (!parent._children.includes(child)) parent._children.push(child);
|
||||
|
||||
// parent found
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user