Dynamically get file system entries on tree expand only if we're of source FileSystem

dhcp-server
Pat Hartl 2023-09-10 23:28:33 -05:00
parent ca1520341c
commit 63df396fad
1 changed files with 13 additions and 10 deletions

View File

@ -286,6 +286,8 @@
}
async Task ExpandTree(TreeEventArgs<FileManagerDirectory> args)
{
if (Source == FileManagerSource.FileSystem)
{
var directory = (FileManagerDirectory)args.Node.DataItem;
@ -301,6 +303,7 @@
child.PopulateChildren(paths);
}
}
}
async Task UpdateEntries()
{