浏览代码

Rollback change.

Greenback 4 年之前
父节点
当前提交
d2d45295fc
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
             MenuSection = page.MenuSection;
             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
             PluginId = plugin?.Id.ToString();