summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/ViewModels/ModListModel.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-09 14:06:10 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-09 14:06:10 -0400
commitdf84df5ff195ccb7b9a47fbf644e175a26b40aa4 (patch)
tree229a18b48b67406e78da0eea2190f64d17db8af9 /src/SMAPI.Web/ViewModels/ModListModel.cs
parentf82a8e3c2dbc52e9db293fb71be693aed48825c4 (diff)
downloadSMAPI-df84df5ff195ccb7b9a47fbf644e175a26b40aa4.tar.gz
SMAPI-df84df5ff195ccb7b9a47fbf644e175a26b40aa4.tar.bz2
SMAPI-df84df5ff195ccb7b9a47fbf644e175a26b40aa4.zip
add GitHub licenses to mod compatibility list, update release notes
Diffstat (limited to 'src/SMAPI.Web/ViewModels/ModListModel.cs')
-rw-r--r--src/SMAPI.Web/ViewModels/ModListModel.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Web/ViewModels/ModListModel.cs b/src/SMAPI.Web/ViewModels/ModListModel.cs
index ff7513bc..6b8279c1 100644
--- a/src/SMAPI.Web/ViewModels/ModListModel.cs
+++ b/src/SMAPI.Web/ViewModels/ModListModel.cs
@@ -26,7 +26,7 @@ namespace StardewModdingAPI.Web.ViewModels
public bool IsStale { get; set; }
/// <summary>Whether the mod metadata is available.</summary>
- public bool HasData => this.Mods != null;
+ public bool HasData => this.Mods?.Any() == true;
/*********