first commit

This commit is contained in:
2026-03-22 00:29:34 +01:00
commit c16b4e3933
1729 changed files with 162013 additions and 0 deletions
@@ -0,0 +1,16 @@
using Microsoft.AspNetCore.Components;
namespace Webshop.App.Components.Widgets
{
public partial class InboxWidget
{
[Inject]
public ApplicationState? ApplicationState { get; set; }
public int MessageCount { get; set; } = 0;
protected override void OnInitialized()
{
MessageCount = ApplicationState.NumberOfMessages;
}
}
}