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:
Jamie.Rees 2017-03-14 08:38:37 +00:00
parent 87b2272bdf
commit 13c0b4ed17
6 changed files with 132 additions and 74 deletions

View file

@ -142,7 +142,7 @@ namespace Ombi.UI.Modules.Admin
var settings = this.Bind<SystemSettings>();
Analytics.TrackEventAsync(Category.Admin, Action.Update, $"Updated Branch {EnumHelper<Branches>.GetDisplayValue(settings.Branch)}", Username, CookieHelper.GetAnalyticClientId(Cookies));
Analytics.TrackEventAsync(Category.Admin, Action.Update, $"Updated Branch {EnumHelper<Branches>.GetBranchValue<BranchAttribute>(settings.Branch).DisplayName}", Username, CookieHelper.GetAnalyticClientId(Cookies));
await SystemSettings.SaveSettingsAsync(settings);
// Clear the cache