Dynamically get file system entries on tree expand only if we're of source FileSystem
This commit is contained in:
parent
ca1520341c
commit
63df396fad
1 changed files with 13 additions and 10 deletions
|
@ -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…
Add table
Reference in a new issue