summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/ViewModels
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-02-12 12:07:13 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-02-12 12:07:13 -0500
commitb0cc403098161ad82b858008e2523e1d2496fc41 (patch)
treea8d44ed1f1d0185ed7bdf2faec01c0b0fd9faeab /src/SMAPI.Web/ViewModels
parent4a1174cd5086ac615b9218384853a6ad2831b603 (diff)
downloadSMAPI-b0cc403098161ad82b858008e2523e1d2496fc41.tar.gz
SMAPI-b0cc403098161ad82b858008e2523e1d2496fc41.tar.bz2
SMAPI-b0cc403098161ad82b858008e2523e1d2496fc41.zip
add data-* attributes to log parser for external tools
Diffstat (limited to 'src/SMAPI.Web/ViewModels')
-rw-r--r--src/SMAPI.Web/ViewModels/LogParserModel.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Web/ViewModels/LogParserModel.cs b/src/SMAPI.Web/ViewModels/LogParserModel.cs
index bea79eae..0b6d7722 100644
--- a/src/SMAPI.Web/ViewModels/LogParserModel.cs
+++ b/src/SMAPI.Web/ViewModels/LogParserModel.cs
@@ -83,7 +83,7 @@ namespace StardewModdingAPI.Web.ViewModels
// group by mod
return mods
- .Where(mod => mod.ContentPackFor != null)
+ .Where(mod => mod.IsContentPack)
.GroupBy(mod => mod.ContentPackFor)
.ToDictionary(group => group.Key, group => group.ToArray());
}