mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
#12168 filtered only for services
This commit is contained in:
parent
581d78fc33
commit
13ba9aff39
@ -1565,6 +1565,7 @@ var TreeController = {
|
||||
const father = [];
|
||||
const newTree = [];
|
||||
rawTree.map((raw, index) => {
|
||||
if (raw.type === "services") {
|
||||
if (raw.servicesChildren.length !== 0) {
|
||||
// search at parent level
|
||||
let findedPadre = raw.description.indexOf(searched);
|
||||
@ -1590,6 +1591,7 @@ var TreeController = {
|
||||
delete rawTree[index];
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
if (ancestors.length >= 1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user