mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-11 04:57:22 +01:00
fix selecting last new entry
This commit is contained in:
parent
780e1a79d1
commit
3a481f606b
1 changed files with 1 additions and 1 deletions
|
|
@ -692,7 +692,7 @@ internal sealed partial class CharaDataHubUi
|
|||
var charaDataEntries = _charaDataManager.OwnCharaData.Count;
|
||||
if (charaDataEntries != _dataEntries && _selectNewEntry && _charaDataManager.OwnCharaData.Any())
|
||||
{
|
||||
SelectedDtoId = _charaDataManager.OwnCharaData.Last().Value.Id;
|
||||
SelectedDtoId = _charaDataManager.OwnCharaData.OrderBy(o => o.Value.CreatedDate).Last().Value.Id;
|
||||
_selectNewEntry = false;
|
||||
}
|
||||
_dataEntries = _charaDataManager.OwnCharaData.Count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue