Fixed the mixed content warnings and the error when removing a album request #2884

This commit is contained in:
tidusjar 2019-04-06 23:56:55 +01:00
parent c556334f79
commit 6dccea77c2
4 changed files with 10 additions and 9 deletions

View file

@ -16,6 +16,7 @@ namespace Ombi.Core.Models.Search
public string Cover { get; set; }
public string Disk { get; set; }
public decimal PercentOfTracks { get; set; }
public object[] Genres { get; set; }
public override RequestType Type => RequestType.Album;
public bool PartiallyAvailable => PercentOfTracks != 100 && PercentOfTracks > 0;
public bool FullyAvailable => PercentOfTracks == 100;