PlanTempusApp/PlanTempus.Application/Features/Dashboard/Components/NotificationList/Default.cshtml

17 lines
589 B
Text
Raw Normal View History

@model PlanTempus.Application.Features.Dashboard.Components.NotificationListViewModel
<swp-card data-key="@Model.Key">
<swp-card-header>
<swp-card-title>@Model.Title</swp-card-title>
<swp-section-action>@Model.ActionText</swp-section-action>
</swp-card-header>
<swp-card-content>
<swp-notification-list>
@foreach (var notificationKey in Model.NotificationKeys)
{
@await Component.InvokeAsync("NotificationItem", notificationKey)
}
</swp-notification-list>
</swp-card-content>
</swp-card>