!wip added the custom page into the settings

This commit is contained in:
TidusJar 2019-01-08 20:06:45 +00:00
commit 656f8511b4
9 changed files with 79 additions and 13 deletions

View file

@ -1,6 +1,7 @@
using Ombi.Helpers;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
namespace Ombi.Store.Entities.Requests
{
@ -26,6 +27,7 @@ namespace Ombi.Store.Entities.Requests
public string LangCode { get; set; }
[NotMapped]
[JsonIgnore]
public string LanguageCode => LangCode.IsNullOrEmpty() ? "en" : LangCode;
}
}