mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-10 15:32:37 -07:00
A fix to the about page and also started to rework the notification backend slightly to easily add more notifications
This commit is contained in:
parent
87b2272bdf
commit
13c0b4ed17
6 changed files with 132 additions and 74 deletions
|
@ -112,7 +112,7 @@ namespace Ombi.UI.Modules.Admin
|
|||
vm.DbLocation = SqlConfig.CurrentPath;
|
||||
|
||||
vm.ApplicationVersion = AssemblyHelper.GetFileVersion();
|
||||
vm.Branch = EnumHelper<Branches>.GetDisplayValue(systemSettings.Branch);
|
||||
vm.Branch = EnumHelper<Branches>.GetBranchValue<BranchAttribute>(systemSettings.Branch).DisplayName;
|
||||
vm.LogLevel = LogManager.Configuration.LoggingRules.FirstOrDefault(x => x.NameMatches("database"))?.Levels?.FirstOrDefault()?.Name ?? "Unknown";
|
||||
|
||||
return vm;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue