From d69b838a7245cd27ea361d04f4444b4bbfd68a70 Mon Sep 17 00:00:00 2001 From: masoodafar-web Date: Fri, 26 Dec 2025 06:19:57 +0330 Subject: [PATCH] fix(dashboard): Disable DiscountShopWidget temporarily - Comment out DiscountShopWidget that requires unregistered IDiscountOrderService - Add placeholder card with 'coming soon' message - Fix null reference warnings with null! attributes --- .../Pages/Dashboard/SystemOverview.razor | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/src/BackOffice/Pages/Dashboard/SystemOverview.razor b/src/BackOffice/Pages/Dashboard/SystemOverview.razor index 835db42..81e0408 100644 --- a/src/BackOffice/Pages/Dashboard/SystemOverview.razor +++ b/src/BackOffice/Pages/Dashboard/SystemOverview.razor @@ -139,8 +139,24 @@ - - + + @* *@ + + + + + + + آمار فروشگاه تخفیفی + + + + + + این بخش در حال توسعه است و به‌زودی فعال می‌شود. + + + @@ -215,8 +231,8 @@ @code { - [Inject] public CommissionContract.CommissionContractClient CommissionClient { get; set; } - [Inject] public ClubMembershipContract.ClubMembershipContractClient ClubClient { get; set; } + [Inject] public CommissionContract.CommissionContractClient CommissionClient { get; set; } = null!; + [Inject] public ClubMembershipContract.ClubMembershipContractClient ClubClient { get; set; } = null!; private bool _loading = false; private long _currentWeekDefinitionId = 0;