pitit refact

This commit is contained in:
Paul Schneider 2026-06-04 12:13:37 +01:00
commit 20713eef64
235 changed files with 5374 additions and 373 deletions

View file

@ -24,10 +24,10 @@ namespace Yavsc.Helpers
}
private static List<Notification> SetupNotificationList(this Controller controller)
{
List<Notification> notifs = (List<Notification>)controller.ViewData["Notify"];
List<Notification> notifs = (List<Notification>)controller.ViewBag.Notify;
if (notifs == null)
{
controller.ViewData["Notify"] = notifs = new List<Notification>();
controller.ViewBag.Notify = notifs = new List<Notification>();
}
return notifs;
}