Fixed the source counter of an answer doing nothing when clicked

This commit is contained in:
Thorsten Sommer committed 2026-09-15 17:38:36 +02:00
1 parent baa48c80e1
commit 408e06e9c0
4 files changed
+44 -3

No files matched your search

@@ -48,7 +48,7 @@
{
<MudTooltip Text="@T("Number of sources")" Placement="Placement.Bottom">
<MudBadge Content="@this.Content.Sources.Count" Color="Color.Primary" Overlap="true" BadgeClass="sources-card-header">
<MudIconButton Icon="@Icons.Material.Filled.Link"/>
<MudIconButton Icon="@Icons.Material.Filled.Link" Disabled="@(!this.HasSourcesToShow)" OnClick="@this.ShowSources"/>
</MudBadge>
</MudTooltip>
}
@@ -223,7 +223,7 @@
}
@if (textContent.Sources.Count > 0)
{
<SourcesList Sources="@textContent.Sources"/>
<SourcesList @ref="this.sourcesList" Sources="@textContent.Sources"/>
}
</div>
}