Browse Source

Rollback change.

Greenback 4 years ago
parent
commit
d2d45295fc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Jellyfin.Api/Models/ConfigurationPageInfo.cs

+ 1 - 1
Jellyfin.Api/Models/ConfigurationPageInfo.cs

@@ -38,7 +38,7 @@ namespace Jellyfin.Api.Models
             EnableInMainMenu = page.EnableInMainMenu;
             EnableInMainMenu = page.EnableInMainMenu;
             MenuSection = page.MenuSection;
             MenuSection = page.MenuSection;
             MenuIcon = page.MenuIcon;
             MenuIcon = page.MenuIcon;
-            DisplayName = string.IsNullOrWhiteSpace(page.DisplayName) ? plugin?.Name ?? page.DisplayName : page.DisplayName;
+            DisplayName = string.IsNullOrWhiteSpace(page.DisplayName) ? plugin?.Name : page.DisplayName;
 
 
             // Don't use "N" because it needs to match Plugin.Id
             // Don't use "N" because it needs to match Plugin.Id
             PluginId = plugin?.Id.ToString();
             PluginId = plugin?.Id.ToString();