Ensure campaign status is shown correctly in minimal crowdfund app (#2062)

This commit is contained in:
Umar Bolatov
2020-12-11 22:23:59 -08:00
committed by GitHub
parent ed497cab99
commit a294ad41cb
3 changed files with 10 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ namespace BTCPayServer.Models.AppViewModels
public bool Started => !StartDate.HasValue || DateTime.Now.ToUniversalTime() > StartDate;
public bool Ended => !EndDate.HasValue || DateTime.Now.ToUniversalTime() > EndDate;
public bool Ended => EndDate.HasValue && DateTime.Now.ToUniversalTime() > EndDate;
public bool DisplayPerksRanking { get; set; }
public bool Enabled { get; set; }
public string ResetEvery { get; set; }