Fixed the file preview showing an empty document while the file was still being read (#907)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-08-10 17:10:55 +02:00
1 parent 0eebb164c2
commit ed52abfd37
6 files changed
+60 -15

No files matched your search

@@ -33,6 +33,16 @@
@T("The specified file could not be found. The file have been moved, deleted, renamed, or is otherwise inaccessible.")
</MudAlert>
}
else if (this.isLoadingContent)
{
<MudJustifiedText Typo="Typo.body1" Class="my-3">
@T("Please wait while we load the content of your file. Depending on the file type and size, this may take a moment.")
</MudJustifiedText>
<MudSkeleton Width="30%" Height="42px"/>
<MudSkeleton Width="80%"/>
<MudSkeleton Width="100%"/>
<MudSkeleton Width="90%"/>
}
else if (this.loadFailureMessage is not null)
{
<MudAlert Severity="Severity.Error" Variant="Variant.Filled" Class="my-2">