This commit is contained in:
Loretta 2024-06-26 16:39:16 +02:00
parent d76cdb68b1
commit 831935ad1b
1 changed files with 4 additions and 6 deletions

View File

@ -50,7 +50,7 @@
<DetailRowTemplate> <DetailRowTemplate>
<DxTabs> <DxTabs>
<DxTabPage Text="Permissions"> <DxTabPage Text="Permissions">
<UserProductMappingGridComponent DetailExpandButtonDisplayMode="GridDetailExpandButtonDisplayMode.Never" ContextIds="new [] {((Product)context.DataItem).Id}" GetAllTag="SignalRTags.GetUserProductMappingsByProductId"> <UserProductMappingGridComponent DetailExpandButtonDisplayMode="GridDetailExpandButtonDisplayMode.Never" ContextIds="new[] { ((Product)context.DataItem).Id }" GetAllTag="SignalRTags.GetUserProductMappingsByProductId">
</UserProductMappingGridComponent> </UserProductMappingGridComponent>
</DxTabPage> </DxTabPage>
<DxTabPage Text="Profile"> <DxTabPage Text="Profile">
@ -60,7 +60,7 @@
</DetailRowTemplate> </DetailRowTemplate>
<EditFormTemplate Context="editFormContext"> <EditFormTemplate Context="editFormContext">
@{ @{
var transfer2 = (Product)editFormContext.EditModel; var product = (Product)editFormContext.EditModel;
} }
<DxFormLayout CssClass="w-100"> <DxFormLayout CssClass="w-100">
<DxFormLayoutItem Caption=@Localizer.GetString(ResourceKeys.ProductName) ColSpanMd="4"> <DxFormLayoutItem Caption=@Localizer.GetString(ResourceKeys.ProductName) ColSpanMd="4">
@ -95,8 +95,6 @@
protected override void OnInitialized() protected override void OnInitialized()
{ {
_logger = new LoggerClient<ProductGridComponent>(LogWriters.ToArray()); _logger = new LoggerClient<ProductGridComponent>(LogWriters.ToArray());
//DataSource = new List<Address>();
} }
protected override async Task OnParametersSetAsync() protected override async Task OnParametersSetAsync()