bug fixes

This commit is contained in:
Shaun Walker
2020-02-12 09:14:20 -05:00
parent 715325e66f
commit f6622a5599
3 changed files with 2 additions and 16 deletions

View File

@ -52,7 +52,7 @@
public override SecurityAccessLevel SecurityAccessLevel { get { return SecurityAccessLevel.Admin; } }
List<Folder> Folders;
int folderid;
int folderid = -1;
List<File> Files;
Uri uri;
@ -61,7 +61,7 @@
try
{
Folders = await FolderService.GetFoldersAsync(PageState.Site.SiteId);
if (Folders.Count > 0)
if (folderid == -1 && Folders.Count > 0)
{
folderid = Folders[0].FolderId;
await GetFiles();