Implementato controllo conessione dispositivo e servizi. Completata pagination commesse e attività per cliente
This commit is contained in:
@@ -280,7 +280,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
@if (NetworkService.IsNetworkAvailable() && !ContactModel.IsContact)
|
||||
@if (NetworkService.ConnectionAvailable && !ContactModel.IsContact)
|
||||
{
|
||||
<MudButton Class="button-settings blue-icon"
|
||||
FullWidth="true"
|
||||
@@ -332,7 +332,7 @@
|
||||
private List<StbUser> Users { get; set; } = [];
|
||||
|
||||
private bool IsNew => OriginalModel is null;
|
||||
private bool IsView => !NetworkService.IsNetworkAvailable();
|
||||
private bool IsView => !NetworkService.ConnectionAvailable;
|
||||
|
||||
private string? LabelSave { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user