aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/DashboardController.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-10-03 17:17:56 +0200
committerGitHub <noreply@github.com>2021-10-03 17:17:56 +0200
commit9718c0b2eeb3ff2c2d0f613bfb51db6a025b0a07 (patch)
tree998e25880a88c8f49b7ba490c5d00c9f19bfca67 /Jellyfin.Api/Controllers/DashboardController.cs
parent6a575b3f77d2d1a304bb8b80e09d2b26b50bba5d (diff)
parent6cbfdea4c018a88864f1c7aa8f5b2535a9952b31 (diff)
Merge pull request #6651 from KonH/fix_common_warnings
Diffstat (limited to 'Jellyfin.Api/Controllers/DashboardController.cs')
-rw-r--r--Jellyfin.Api/Controllers/DashboardController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/DashboardController.cs b/Jellyfin.Api/Controllers/DashboardController.cs
index 445733c24..87cb418d9 100644
--- a/Jellyfin.Api/Controllers/DashboardController.cs
+++ b/Jellyfin.Api/Controllers/DashboardController.cs
@@ -53,7 +53,7 @@ namespace Jellyfin.Api.Controllers
if (enableInMainMenu.HasValue)
{
- configPages = configPages.Where(p => p!.EnableInMainMenu == enableInMainMenu.Value).ToList();
+ configPages = configPages.Where(p => p.EnableInMainMenu == enableInMainMenu.Value).ToList();
}
return configPages;