@model BTCPayServer.Models.NotificationViewModels.NotificationIndexViewModel @{ ViewData["Title"] = "Notifications"; string status = ViewBag.Status; var statusFilterCount = CountArrayFilter("type"); var storesFilterCount = CountArrayFilter("store"); } @functions { private int CountArrayFilter(string type) => Model.Search.ContainsFilter(type) ? Model.Search.GetFilterArray(type).Length : 0; private bool HasArrayFilter(string type, string key = null) => Model.Search.ContainsFilter(type) && (key is null || Model.Search.GetFilterArray(type).Contains(key)); } @section PageHeadContent { }
There are no notifications.
} @section PageFootContent { }