mirror of
https://github.com/oqtane/oqtane.framework.git
synced 2025-05-17 18:14:22 +00:00
[ENHANCE] - Moved SetImage()
before the OnSelect fires so that the Parent can retrieve the Image from fileManager
rather then calling FileService
to retrieve again
This commit is contained in:
parent
fca306ffa6
commit
5345a12aca
@ -271,13 +271,10 @@
|
||||
{
|
||||
_message = string.Empty;
|
||||
FileId = int.Parse((string)e.Value);
|
||||
if (FileId != -1)
|
||||
{
|
||||
await OnSelect.InvokeAsync(FileId);
|
||||
}
|
||||
|
||||
await SetImage();
|
||||
await OnSelect.InvokeAsync(FileId);
|
||||
StateHasChanged();
|
||||
|
||||
}
|
||||
|
||||
private async Task SetImage()
|
||||
|
Loading…
x
Reference in New Issue
Block a user