|
|
@ -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();
|
|
|
|