diff --git a/src/Core/Application/Aggregates/Stores/StoresApplication.cs b/src/Core/Application/Aggregates/Stores/StoresApplication.cs index d039da2..ce862f7 100644 --- a/src/Core/Application/Aggregates/Stores/StoresApplication.cs +++ b/src/Core/Application/Aggregates/Stores/StoresApplication.cs @@ -67,7 +67,7 @@ public class StoresApplication(IStoreRepository storeRepository) mobile: updateStoreViewModel.Mobile, score: updateStoreViewModel.Score); - if (update.IsActive == true) + if (updateStoreViewModel.IsActive == true) { update.Activate(); } diff --git a/src/Presentation/Server/Pages/Panel/Stores/Index.cshtml b/src/Presentation/Server/Pages/Panel/Stores/Index.cshtml index f19a662..6ad274d 100644 --- a/src/Presentation/Server/Pages/Panel/Stores/Index.cshtml +++ b/src/Presentation/Server/Pages/Panel/Stores/Index.cshtml @@ -24,7 +24,7 @@ @(Html.Ub_DisplayStringWithTd(item.Name)) @(Html.Ub_DisplayStringWithTd(item.Address)) @(Html.Ub_DisplayStringWithTd(item.Mobile)) - @(Html.Ub_DisplayInteger(item.Score)) + @(Html.Ub_DisplayIntegerWithTd(item.Score)) @(Html.Ub_DisplayBooleanWithTd(item.IsActive))