...
This commit is contained in:
@@ -195,9 +195,17 @@
|
||||
value += "/" + CompanyGroups.FirstOrDefault(f => f.ID == GroupID.GetValueOrDefault()).Name;
|
||||
|
||||
}
|
||||
if (LastOpenChat != null && !string.IsNullOrEmpty(LastOpenChat.ExperFullName))
|
||||
if (LastOpenChat != null)
|
||||
{
|
||||
value += "/" + LastOpenChat.ExperFullName;
|
||||
var model = LastOpenChat.Responses.OrderBy(o => o.ID).LastOrDefault(l => l.Type != Common.Enums.ConversationType.UE);
|
||||
|
||||
if (model!=null && model.Type==Common.Enums.ConversationType.CU && !string.IsNullOrEmpty(CompanyInfo.FullNameManager))
|
||||
{
|
||||
value += "/" + CompanyInfo.FullNameManager;
|
||||
}
|
||||
else
|
||||
if (!string.IsNullOrEmpty(LastOpenChat.ExperFullName))
|
||||
value += "/" + LastOpenChat.ExperFullName;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
@@ -303,7 +311,7 @@
|
||||
|
||||
if (LastOpenChat != null)
|
||||
{
|
||||
|
||||
GroupID = LastOpenChat.GroupID;
|
||||
// Always set up visibility observation for chat bubbles
|
||||
_shouldObserveVisibility = true;
|
||||
StateHasChanged();
|
||||
|
Reference in New Issue
Block a user