mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-27 00:02:25 +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:
parent
1212578c45
commit
af88b3f807
1 changed files with 5 additions and 0 deletions
|
@ -10,6 +10,11 @@ namespace NzbDrone.Core.MediaFiles.TrackImport.Manual
|
||||||
{
|
{
|
||||||
public class ManualImportItem : ModelBase
|
public class ManualImportItem : ModelBase
|
||||||
{
|
{
|
||||||
|
public ManualImportItem()
|
||||||
|
{
|
||||||
|
Tracks = new List<Track>();
|
||||||
|
}
|
||||||
|
|
||||||
public string Path { get; set; }
|
public string Path { get; set; }
|
||||||
public string RelativePath { get; set; }
|
public string RelativePath { get; set; }
|
||||||
public string FolderName { get; set; }
|
public string FolderName { get; set; }
|
||||||
|
|
Loading…
Reference in a new issue