From 83f6c0eeabf454864b3972cf15b58a270ad08a47 Mon Sep 17 00:00:00 2001 From: Loretta Date: Tue, 2 Jul 2024 18:47:07 +0200 Subject: [PATCH] fixes --- .../User/SysAdmins/CarGridComponent.razor | 5 +-- .../User/SysAdmins/DriverGridComponent.razor | 5 +-- ...tinationToProductDetailGridComponent.razor | 32 +++++++++---------- .../UserProductMappingGridComponent.razor | 3 +- 4 files changed, 24 insertions(+), 21 deletions(-) diff --git a/TIAMSharedUI/Pages/User/SysAdmins/CarGridComponent.razor b/TIAMSharedUI/Pages/User/SysAdmins/CarGridComponent.razor index e70e6d19..fba6afde 100644 --- a/TIAMSharedUI/Pages/User/SysAdmins/CarGridComponent.razor +++ b/TIAMSharedUI/Pages/User/SysAdmins/CarGridComponent.razor @@ -29,7 +29,7 @@ DetailExpandButtonDisplayMode="DetailExpandButtonDisplayMode" ShowFilterRow="true"> - + @{ @@ -52,7 +52,8 @@ - + diff --git a/TIAMSharedUI/Pages/User/SysAdmins/DriverGridComponent.razor b/TIAMSharedUI/Pages/User/SysAdmins/DriverGridComponent.razor index b6d5c431..dda2ea58 100644 --- a/TIAMSharedUI/Pages/User/SysAdmins/DriverGridComponent.razor +++ b/TIAMSharedUI/Pages/User/SysAdmins/DriverGridComponent.razor @@ -43,9 +43,10 @@ - + +@* - + *@ diff --git a/TIAMSharedUI/Pages/User/SysAdmins/TransferDestinationToProductDetailGridComponent.razor b/TIAMSharedUI/Pages/User/SysAdmins/TransferDestinationToProductDetailGridComponent.razor index 7566a1b0..0ef37798 100644 --- a/TIAMSharedUI/Pages/User/SysAdmins/TransferDestinationToProductDetailGridComponent.razor +++ b/TIAMSharedUI/Pages/User/SysAdmins/TransferDestinationToProductDetailGridComponent.razor @@ -16,16 +16,16 @@ @inject IEnumerable LogWriters @inject AdminSignalRClient AdminSignalRClient; - - + + @@ -33,7 +33,7 @@ @* @{ - var destinationNameFieldName = $"{nameof(TransferDestinationToProduct.TransferDestination.Name)}.{nameof(TransferDestination.Name)}"; + var destinationNameFieldName = $"{nameof(TransferDestinationToProduct.TransferDestination.Name)}.{nameof(TransferDestination.Name)}"; } *@ @@ -43,20 +43,20 @@ - + - + - + @{ - var serviceProvider = (Company)editFormContext.EditModel; + var transferDestinationToProduct = (TransferDestinationToProduct)editFormContext.EditModel; } @@ -68,7 +68,7 @@ @editFormContext.GetEditor("Price3") - + @editFormContext.GetEditor("ProductCommis") diff --git a/TIAMSharedUI/Pages/User/SysAdmins/UserProductMappingGridComponent.razor b/TIAMSharedUI/Pages/User/SysAdmins/UserProductMappingGridComponent.razor index 5e33179f..3902cf96 100644 --- a/TIAMSharedUI/Pages/User/SysAdmins/UserProductMappingGridComponent.razor +++ b/TIAMSharedUI/Pages/User/SysAdmins/UserProductMappingGridComponent.razor @@ -28,7 +28,7 @@ ColumnResizeMode="GridColumnResizeMode.NextColumn" DetailExpandButtonDisplayMode="DetailExpandButtonDisplayMode"> - + @{ @@ -80,6 +80,7 @@ @code { + [Parameter] public bool NewButtonVisible { get; set; } = true; [Parameter] public IProductRelation ParentData { get; set; } = null!; [Parameter] public int GetAllTag { get; set; } = SignalRTags.GetAllUserProductMappings;