mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
Add ToString to UserDto.cs
This commit is contained in:
parent
ccc8a12150
commit
683807c7e1
1 changed files with 5 additions and 0 deletions
|
@ -80,5 +80,10 @@ namespace MediaBrowser.Model.Dto
|
|||
/// Occurs when [property changed].
|
||||
/// </summary>
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return Name ?? base.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue