@page "/dashboard" @page "/dashboards/{DashboardId?}" @inject Microsoft.Extensions.Configuration.IConfiguration Configuration @inject NavigationManager Navigation Dashboards
@if (SelectedDashboardId == "default") { } else if (SelectedDashboardId == "catalog-grid") { } else if (SelectedDashboardId == "custom-grid") {

Catalogs (Custom Grid)

}
@code { [Parameter] public string? DashboardId { get; set; } private string DashboardEndpoint => $"{Configuration["ApiBaseUrl"]?.TrimEnd('/')}/api/dashboard"; private string SelectedDashboardId => string.IsNullOrWhiteSpace(DashboardId) ? "default" : DashboardId; protected override void OnParametersSet() { if (string.IsNullOrWhiteSpace(DashboardId)) { Navigation.NavigateTo("dashboards/default", replace: true); } } }