+
@if(SearchTerm != "" && !UnpinnedExercisesToShow.Any())
diff --git a/LiftLog.Ui/Shared/Presentation/CardList.razor b/LiftLog.Ui/Shared/Presentation/CardList.razor
index bbbd0a57..9edb626f 100644
--- a/LiftLog.Ui/Shared/Presentation/CardList.razor
+++ b/LiftLog.Ui/Shared/Presentation/CardList.razor
@@ -1,9 +1,13 @@
@typeparam TItem
+ @{
+ var index = 0;
+ }
@foreach (var item in Items)
{
OnLongPress.InvokeAsync(item) : default!)
@@ -30,6 +34,8 @@
[Parameter] public Card.CardType CardType { get; set; } = Card.CardType.Outlined;
+ [Parameter] public Func? KeySelector { get; set; }
+
[Parameter(CaptureUnmatchedValues = true)]
public Dictionary? AdditionalAttributes { get; set; }
}