allow FileManager to support changes in parameters
This commit is contained in:
		| @ -143,7 +143,7 @@ | ||||
|     [Parameter] | ||||
|     public EventCallback<int> OnDelete { get; set; } // optional - executes a method in the calling component when a file is deleted | ||||
|  | ||||
|     protected override async Task OnInitializedAsync() | ||||
|     protected override async Task OnParametersSetAsync() | ||||
|     { | ||||
|         // packages folder is a framework folder for uploading installable nuget packages | ||||
|         if (Folder == Constants.PackagesFolder) | ||||
| @ -154,11 +154,6 @@ | ||||
|             ShowSuccess = true; | ||||
|         } | ||||
|  | ||||
|         if (!ShowFiles) | ||||
|         { | ||||
|             ShowImage = false; | ||||
|         } | ||||
|  | ||||
|         _folders = await FolderService.GetFoldersAsync(ModuleState.SiteId); | ||||
|  | ||||
|         if (!string.IsNullOrEmpty(Folder) && Folder != Constants.PackagesFolder) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 sbwalker
					sbwalker