summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Views/Mods
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI.Web/Views/Mods')
-rw-r--r--src/SMAPI.Web/Views/Mods/Index.cshtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Web/Views/Mods/Index.cshtml b/src/SMAPI.Web/Views/Mods/Index.cshtml
index 8a764803..416468e4 100644
--- a/src/SMAPI.Web/Views/Mods/Index.cshtml
+++ b/src/SMAPI.Web/Views/Mods/Index.cshtml
@@ -19,7 +19,7 @@
<script src="~/Content/js/mods.js?r=20210929"></script>
<script>
$(function() {
- var data = @this.ForJson(Model.Mods ?? new ModModel[0]);
+ var data = @(this.ForJson(Model.Mods ?? Array.Empty<ModModel>()));
var enableBeta = @this.ForJson(hasBeta);
smapi.modList(data, enableBeta);
});