@layout PageLayout @page "/notes" Notes
Section:
@foreach (var note in data) { if (note.IsHidden) { continue; } if (selectedSection != "All" && note.Section != selectedSection) { continue; } @if (note.IsPreAlpha) { Pre Alpha This note refers to content that is in pre-alpha. It won't be accurate in future updates to IGP. }
@note.Section
Last Updated on @note.LastUpdated
@note.Name
@((MarkupString)note.Description)
}
@code { readonly List data = NoteModel.Notes.Values.ToList(); string selectedSection = "All"; void OnSectionChanged(ChangeEventArgs e) { selectedSection = e.Value.ToString(); StateHasChanged(); } }