Updated conditions for Deselect and Unhide
This commit is contained in:
@ -104,7 +104,7 @@ namespace Seenginx.Components
|
||||
|
||||
protected async Task OnFileCloseClick(MouseEventArgs e)
|
||||
{
|
||||
Files.ForEach(f => f.Deselect());
|
||||
Files.ForEach(f => { if (f.IsSelected != null) f.Deselect(); });
|
||||
SelectedFile = null;
|
||||
await JsRuntime.InvokeVoidAsync("ClearEditor");
|
||||
IsDraftMode = false;
|
||||
|
Reference in New Issue
Block a user