Files
jsmr/JSMR.UI.Blazor/Components/JProductCollection.razor
Brian Bicknell 634050c06f
All checks were successful
ci / build-test (push) Successful in 2m16s
ci / publish-image (push) Has been skipped
Updated CI for Blazor WebAssembly. Added styles for product cards.
2025-11-15 02:34:15 -05:00

25 lines
427 B
Plaintext

@using JSMR.Application.VoiceWorks.Queries.Search
@if (Products is null)
{
<p>Loading…</p>
}
else if (Products.Length == 0)
{
<p>No results.</p>
}
else
{
<div class="j-product-items-container">
@foreach (var product in Products)
{
<JProduct Product="@product"></JProduct>
}
</div>
}
@code {
[Parameter]
public VoiceWorkSearchResult[]? Products { get; set; }
}