You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
664 B
24 lines
664 B
using Biskilog_Accounting.Shared.CustomModels;
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace Biskilog_Accounting.Client.Pages.Dashboard.Elements
|
|
{
|
|
public partial class TransactionCard
|
|
{
|
|
[Parameter]
|
|
public List<SaleItem> Sales { get; set; } = new List<SaleItem> { };
|
|
[Parameter]
|
|
public bool IsLoading { get; set; } = true;
|
|
|
|
protected override Task OnInitializedAsync()
|
|
{
|
|
IsLoading = true;
|
|
return base.OnInitializedAsync();
|
|
}
|
|
protected override void OnParametersSet()
|
|
{
|
|
IsLoading = false;
|
|
base.OnParametersSet();
|
|
}
|
|
}
|
|
}
|
|
|