1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-02-26 15:52:42 +00:00

Fixed: Ensure Tracks is always present in ManualImportItem

Fixes error in manual import page when Tracks is missing.

Fixes Sentry LIDARR-UI-1GC
This commit is contained in:
ta264 2019-04-15 19:21:34 +01:00
parent 1212578c45
commit af88b3f807

View file

@ -10,6 +10,11 @@ namespace NzbDrone.Core.MediaFiles.TrackImport.Manual
{
public class ManualImportItem : ModelBase
{
public ManualImportItem()
{
Tracks = new List<Track>();
}
public string Path { get; set; }
public string RelativePath { get; set; }
public string FolderName { get; set; }