mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
!wip added the custom page into the settings
This commit is contained in:
parent
edf87bf296
commit
656f8511b4
9 changed files with 79 additions and 13 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue