Has PDFs => Has PDF
This commit is contained in:
parent
b0139c47be
commit
a1ba324166
@ -206,7 +206,7 @@ namespace DataLayer
|
|||||||
#region supplements
|
#region supplements
|
||||||
private HashSet<Supplement> _supplements;
|
private HashSet<Supplement> _supplements;
|
||||||
public IEnumerable<Supplement> Supplements => _supplements?.ToList();
|
public IEnumerable<Supplement> Supplements => _supplements?.ToList();
|
||||||
public bool HasPdfs => Supplements.Any();
|
public bool HasPdf => Supplements.Any();
|
||||||
|
|
||||||
public void AddSupplementDownloadUrl(string url)
|
public void AddSupplementDownloadUrl(string url)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -146,8 +146,8 @@ namespace LibationWinForm
|
|||||||
get
|
get
|
||||||
{
|
{
|
||||||
var details = new List<string>();
|
var details = new List<string>();
|
||||||
if (book.HasPdfs)
|
if (book.HasPdf)
|
||||||
details.Add("Has PDFs");
|
details.Add("Has PDF");
|
||||||
if (book.IsAbridged)
|
if (book.IsAbridged)
|
||||||
details.Add("Abridged");
|
details.Add("Abridged");
|
||||||
if (book.DatePublished.HasValue)
|
if (book.DatePublished.HasValue)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user