Dynamically get file system entries on tree expand only if we're of source FileSystem
parent
ca1520341c
commit
63df396fad
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue