diff --git a/TIAMSharedUI/Shared/Components/Grids/CompanyGrid.cs b/TIAMSharedUI/Shared/Components/Grids/CompanyGrid.cs index 5c5c411c..7ce4ffd3 100644 --- a/TIAMSharedUI/Shared/Components/Grids/CompanyGrid.cs +++ b/TIAMSharedUI/Shared/Components/Grids/CompanyGrid.cs @@ -8,8 +8,6 @@ public class CompanyGrid : TiamGrid { public CompanyGrid() : base() { - GridName = nameof(CompanyGrid); - GetAllMessageTag = SignalRTags.GetCompanies; AddMessageTag = SignalRTags.AddCompany; UpdateMessageTag = SignalRTags.UpdateCompany; diff --git a/TIAMSharedUI/Shared/Components/Grids/TiamGrid.cs b/TIAMSharedUI/Shared/Components/Grids/TiamGrid.cs index 1618ce2a..2373bf44 100644 --- a/TIAMSharedUI/Shared/Components/Grids/TiamGrid.cs +++ b/TIAMSharedUI/Shared/Components/Grids/TiamGrid.cs @@ -175,11 +175,11 @@ namespace TIAMSharedUI.Shared.Components.Grids //transfer = await devAdminSignalClient.PostDataAsync(SignalRTags.UpdateTransferAsync, transfer); } - public bool RefreshDataItem(TDataItem dataItem, bool isDelete) + protected virtual bool RefreshDataItem(TDataItem dataItem, bool isDelete) { if (dataItem.Id.IsNullOrEmpty()) { - Logger.Error($"dataItem.Id.IsNullOrEmpty()"); + Logger.Error($"{_gridLogName} dataItem.Id.IsNullOrEmpty()"); return false; } diff --git a/TIAMSharedUI/Shared/Components/Grids/TransferGrid.cs b/TIAMSharedUI/Shared/Components/Grids/TransferGrid.cs index 6650ce64..908341d4 100644 --- a/TIAMSharedUI/Shared/Components/Grids/TransferGrid.cs +++ b/TIAMSharedUI/Shared/Components/Grids/TransferGrid.cs @@ -8,8 +8,6 @@ public class TransferGrid : TiamGrid { public TransferGrid() : base() { - GridName = nameof(TransferGrid); - GetAllMessageTag = SignalRTags.GetTransfers; AddMessageTag = SignalRTags.AddTransfer; UpdateMessageTag = SignalRTags.UpdateTransfer;