Removed unused variable & unnecessary conversion

This commit is contained in:
Thorsten Sommer 2025-12-17 13:14:31 +01:00
parent 2e41dd5b69
commit 3c6ab6a970
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -3,10 +3,7 @@
@if (this.UseSmallForm)
{
<div @onmouseenter="@this.OnMouseEnter" @onmouseleave="@this.OnMouseLeave">
@{
var fileInfos = this.DocumentPaths.Select(file => new FileInfo(file)).ToList();
}
@if (fileInfos.Any())
@if (this.DocumentPaths.Any())
{
<MudTooltip Text="@T("Click to see your attached files")" Placement="@TOOLBAR_TOOLTIP_PLACEMENT">
<MudBadge