We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46099dd commit d0f6f9cCopy full SHA for d0f6f9c
1 file changed
src/BookStore.Web/Components/Pages/ShoppingCart.razor
@@ -17,7 +17,7 @@
17
<MudContainer MaxWidth="MaxWidth.Large" Class="mt-6">
18
<MudText Typo="Typo.h3" Class="mb-6">Shopping Cart</MudText>
19
20
- @if (!_isAuthenticated)
+ @if (!_isAuthenticated && displayCart?.Items.Count > 0)
21
{
22
<MudAlert Severity="Severity.Info" Variant="Variant.Outlined" Class="mb-4" role="status">
23
You are shopping as a guest. Login to save your cart and checkout.
0 commit comments