Fix MP.Prog x versNumb
This commit is contained in:
@@ -86,7 +86,7 @@ namespace MP.Prog.Components
|
||||
|
||||
protected async Task ClearMessage()
|
||||
{
|
||||
await Task.Delay(500);
|
||||
await Task.Delay(10);
|
||||
setupMessages = new List<string>();
|
||||
}
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
<div class="form-row pt-3">
|
||||
<div class="col-7 col-md-6 col-lg-4 col-xl-3">
|
||||
@*<LoginDisplay></LoginDisplay>*@
|
||||
@*<i class="fas fa-user-alt"></i> <b>@userName</b>*@
|
||||
</div>
|
||||
<div class="col-12 col-lg-4 col-xl-6 d-none d-lg-block text-center h4 text-truncate">
|
||||
<span class="@PageIcon" aria-hidden="true"></span> @PageName
|
||||
@@ -60,18 +61,19 @@
|
||||
|
||||
private async Task forceReload()
|
||||
{
|
||||
|
||||
userName = "N.A.";
|
||||
await Task.Delay(1);
|
||||
#if false
|
||||
var authState = await AuthenticationStateProvider.GetAuthenticationStateAsync();
|
||||
var user = authState.User;
|
||||
|
||||
if (user.Identity.IsAuthenticated)
|
||||
{
|
||||
userName = $"{user.Identity.Name}";
|
||||
userName = $"{user.Identity.Name}";
|
||||
}
|
||||
else
|
||||
{
|
||||
userName = "N.A.";
|
||||
userName = "N.A.";
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -24,7 +24,11 @@
|
||||
set
|
||||
{
|
||||
MessageService.SearchVal = value;
|
||||
reportChange();
|
||||
var pUpd = Task.Run(async () =>
|
||||
{
|
||||
await reportChange();
|
||||
});
|
||||
pUpd.Wait();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -134,6 +134,7 @@ namespace MP.Prog.Components
|
||||
protected async Task ResetSearchTag()
|
||||
{
|
||||
SearchTag = defTag;
|
||||
await Task.Delay(1);
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
<h3>Test</h3>
|
||||
|
||||
<button type="button" @onclick="@PlaceOrder_Clicked" disabled="@DisablePlaceOrderButton">@Title</button>
|
||||
|
||||
@code{
|
||||
private bool DisablePlaceOrderButton { get; set; } = false;
|
||||
|
||||
public string Title { get; set; } = "Place Order";
|
||||
|
||||
private async Task PlaceOrder_Clicked()
|
||||
{
|
||||
|
||||
await DisablePlaceOrder();
|
||||
|
||||
DisablePlaceOrderButton = false;
|
||||
Title = "Place Order";
|
||||
|
||||
}
|
||||
|
||||
async Task DisablePlaceOrder()
|
||||
{
|
||||
DisablePlaceOrderButton = true;
|
||||
Title = "Wait...";
|
||||
await Task.Delay(1000);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<RootNamespace>MP.Prog</RootNamespace>
|
||||
<Version>1.0.2109.1519</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -2,25 +2,6 @@
|
||||
|
||||
<h3>Test</h3>
|
||||
|
||||
@if (DeleteDialogOpen)
|
||||
{
|
||||
<MP.Prog.Components.TagSearch Title="Ricerca Tag" OnClose="@OnDialogClose"></MP.Prog.Components.TagSearch>
|
||||
}
|
||||
|
||||
<button type="button" class="btn btn-success btn-sm" @onclick="() => OpenDialog()">
|
||||
<i class="fas fa-plus"></i>
|
||||
</button>
|
||||
|
||||
@code {
|
||||
public bool DeleteDialogOpen { get; set; }
|
||||
private async Task OnDialogClose(bool accepted)
|
||||
{
|
||||
DeleteDialogOpen = false;
|
||||
StateHasChanged();
|
||||
}
|
||||
private void OpenDialog()
|
||||
{
|
||||
DeleteDialogOpen = true;
|
||||
StateHasChanged();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo gestione Programmi MAPO</i>
|
||||
<h4>Versione: 1.0.2109.1518</h4>
|
||||
<h4>Versione: 1.0.2109.1519</h4>
|
||||
<br />
|
||||
Note di rilascio:
|
||||
<ul>
|
||||
|
||||
@@ -1 +1 @@
|
||||
1.0.2109.1518
|
||||
1.0.2109.1519
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>1.0.2109.1518</version>
|
||||
<version>1.0.2109.1519</version>
|
||||
<url>http://nexus.steamware.net/repository/SWS/MP-PROG/stable/0/MP.Prog.zip</url>
|
||||
<changelog>http://nexus.steamware.net/repository/SWS/MP-PROG/stable/0/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
Reference in New Issue
Block a user