wip
This commit is contained in:
parent
57bacdc5f8
commit
f3d10478d0
|
|
@ -11,10 +11,6 @@
|
|||
@using TIAMWebApp.Shared.Application.Models.ClientSide.UI
|
||||
@using TIAM.Services
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="row py-3">
|
||||
|
||||
<div class=" col-12 col-xl-3">
|
||||
|
|
@ -163,13 +159,13 @@
|
|||
</div>
|
||||
</Animation>
|
||||
</div>
|
||||
<div class=" col-12 col-xl-6">
|
||||
<div class=" col-12 col-xl-9">
|
||||
<Animation Effect="@Effect.FadeIn" Speed="@Speed.Fast" Delay="@TimeSpan.FromMilliseconds(250)">
|
||||
<div class="card glass card-admin" style="border-radius: 16px;">
|
||||
<div class="card-header py-2 px-4">
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<div>
|
||||
<span class="fw-bold text-body">Messagess</span>
|
||||
<span class="fw-bold text-body">Messages</span>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
|
|
@ -229,7 +225,7 @@
|
|||
</Animation>
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-xl-6" hidden="@accessDenied">
|
||||
<div class="col-12 col-lg-3" hidden="@accessDenied">
|
||||
<Animation Effect="@Effect.FadeIn" Speed="@Speed.Fast" Delay="@TimeSpan.FromMilliseconds(250)">
|
||||
<div class="card glass card-admin" style="border-radius: 16px;">
|
||||
<div class="card-header py-2 px-4">
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
@using TIAM.Entities.Products
|
||||
@using AyCode.Core.Helpers
|
||||
@using TIAM.Entities.Products
|
||||
@using TIAM.Entities.ServiceProviders
|
||||
@using TIAM.Entities.Transfers
|
||||
@using TIAM.Entities.Drivers
|
||||
|
|
@ -127,13 +128,14 @@
|
|||
[Parameter] public int GetAllTag { get; set; } = SignalRTags.GetProductsByOwnerId;
|
||||
[Parameter] public GridDetailExpandButtonDisplayMode DetailExpandButtonDisplayMode { get; set; } = GridDetailExpandButtonDisplayMode.Never;
|
||||
|
||||
private List<TransferDestination>? destinations = null;
|
||||
private List<TransferDestination> destinations = [];
|
||||
|
||||
private ProductDetailGrid _productGrid = null!;
|
||||
private LoggerClient<ProductDetailGridComponent> _logger = null!;
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
_logger = new LoggerClient<ProductDetailGridComponent>(LogWriters.ToArray());
|
||||
AdminSignalRClient.GetAllIntoAsync<TransferDestination>(destinations, SignalRTags.GetAllTransferDestinations).Forget();
|
||||
//DataSource = new List<Address>();
|
||||
|
||||
}
|
||||
|
|
@ -179,12 +181,6 @@
|
|||
_productGrid.Reload();
|
||||
}
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
destinations = await AdminSignalRClient.GetAllAsync<List<TransferDestination>>(SignalRTags.GetAllTransferDestinations);
|
||||
await base.OnInitializedAsync();
|
||||
}
|
||||
|
||||
protected override async Task OnParametersSetAsync()
|
||||
{
|
||||
// if (ParentData != null)
|
||||
|
|
|
|||
Loading…
Reference in New Issue