Updated conditions for Deselect and Unhide

This commit is contained in:
2020-07-28 17:31:57 +02:00
parent 463bddc91d
commit cd7ebf6cce
2 changed files with 3 additions and 3 deletions

View File

@ -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;