mirror of
https://github.com/sphildreth/roadie
synced 2024-11-10 06:44:12 +00:00
v20190511.1 beta
This commit is contained in:
parent
7af2ae8d71
commit
da3b7becbf
1 changed files with 0 additions and 3 deletions
|
@ -80,12 +80,9 @@ namespace Roadie.Library.Models.Releases
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
var shouldBeMediaCount = this.MediaCount ?? 0;
|
|
||||||
var hasMediaCount = this.Media == null || !this.Media.Any() ? 0 : this.Media.Count();
|
|
||||||
var artistName = this.Artist?.Text;
|
var artistName = this.Artist?.Text;
|
||||||
var releaseName = this.Release?.Text;
|
var releaseName = this.Release?.Text;
|
||||||
return this.Id != Guid.Empty &&
|
return this.Id != Guid.Empty &&
|
||||||
shouldBeMediaCount == hasMediaCount &&
|
|
||||||
!string.IsNullOrEmpty(artistName) &&
|
!string.IsNullOrEmpty(artistName) &&
|
||||||
!string.IsNullOrEmpty(releaseName);
|
!string.IsNullOrEmpty(releaseName);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue