Fix sync utenti
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
OnSave="() => OpenUserForm(Anag)"
|
||||
Back="true"
|
||||
BackOnTop="true"
|
||||
Title=""
|
||||
Title="@Anag.CodContact"
|
||||
ShowProfile="false"/>
|
||||
|
||||
@if (IsLoading)
|
||||
@@ -111,7 +111,7 @@ else
|
||||
<label class="tab-trigger" for="tab2" @onclick="() => SwitchTab(1)">Commesse</label>
|
||||
</li>
|
||||
<li class="tab-item">
|
||||
<label class="tab-trigger" for="tab3" @onclick="() => SwitchTab(2)">Attivit<EFBFBD></label>
|
||||
<label class="tab-trigger" for="tab3" @onclick="() => SwitchTab(2)">Attività</label>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -219,7 +219,7 @@ else
|
||||
}
|
||||
</div>
|
||||
|
||||
<!-- Tab Attivit<EFBFBD> -->
|
||||
<!-- Tab Attività -->
|
||||
<div class="tab-content" style="display: @(ActiveTab == 2 ? "block" : "none")">
|
||||
@if (ActivityIsLoading)
|
||||
{
|
||||
@@ -227,7 +227,7 @@ else
|
||||
}
|
||||
else if (ActivityList?.Count == 0)
|
||||
{
|
||||
<NoDataAvailable Text="Nessuna attivit<EFBFBD> presente"/>
|
||||
<NoDataAvailable Text="Nessuna attività presente"/>
|
||||
}
|
||||
else if (ActivityList != null)
|
||||
{
|
||||
@@ -309,7 +309,7 @@ else
|
||||
private string _searchTermCommesse = string.Empty;
|
||||
private List<JtbComt> _filteredCommesse = [];
|
||||
|
||||
// Paginazione e filtri per ATTIVIT<EFBFBD>
|
||||
// Paginazione e filtri per attività
|
||||
private int _currentPageActivity = 1;
|
||||
private int _selectedPageSizeActivity = 5;
|
||||
private string _searchTermActivity = string.Empty;
|
||||
@@ -381,7 +381,7 @@ else
|
||||
|
||||
#endregion
|
||||
|
||||
#region Properties per Attivit<EFBFBD>
|
||||
#region Properties per Attività
|
||||
|
||||
private int CurrentPageActivityIndex
|
||||
{
|
||||
@@ -445,7 +445,7 @@ else
|
||||
{
|
||||
_loadingCts = new CancellationTokenSource();
|
||||
|
||||
if (UserState.CodUser?.Equals(CodContact) == true)
|
||||
if (UserState.CodUser != null && UserState.CodUser.Equals(CodContact))
|
||||
{
|
||||
LoadDataFromSession();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user