MH: SupportConcept Farben Doublecheck
This commit is contained in:
@@ -199,7 +199,7 @@ namespace BS.Shared.DataContracts.Compact
|
||||
{
|
||||
if (this.IsAboutToExpire)
|
||||
{
|
||||
if (this.ExpiredBrush.IsNullOrEmpty())
|
||||
if (this.ExpiredBrush == null || this.ExpiredBrush.IsNullOrEmpty())
|
||||
return Brushes.Red;
|
||||
|
||||
Color color = (Color)ColorConverter.ConvertFromString(this.ExpiredBrush);
|
||||
@@ -207,7 +207,7 @@ namespace BS.Shared.DataContracts.Compact
|
||||
}
|
||||
else if (this.ExpiresIn3MonthOrLess)
|
||||
{
|
||||
if (this.NearlyExpiredBrush.IsNullOrEmpty())
|
||||
if (this.NearlyExpiredBrush == null || this.NearlyExpiredBrush.IsNullOrEmpty())
|
||||
return Brushes.Yellow;
|
||||
|
||||
Color color = (Color)ColorConverter.ConvertFromString(this.NearlyExpiredBrush);
|
||||
|
||||
Reference in New Issue
Block a user