auto open tree when an item is active

This commit is contained in:
2020-05-20 11:19:43 +02:00
parent 0072f766e8
commit f2c8e8af05
9 changed files with 189 additions and 82 deletions
+2 -2
View File
@@ -15,9 +15,9 @@ namespace zero.Web.Controllers
}
public async Task<IActionResult> GetChildren(string parent = null)
public async Task<IActionResult> GetChildren(string parent = null, string active = null)
{
return AsJson(await Api.GetChildren(parent));
return AsJson(await Api.GetChildren(parent, active));
}
}
}