Dashboard title option does not work

Hi,

I’m trying to use DashboardOptions.DashboardTitle to update the dashboard title, but it does not work.

image

I’m not sure about changing the title with the method you show,

I have a Razor Pages .NET 6.0 web app, and the following does work for me.

Just before “app.MapRazorPages()” in Program.cs, I have this (to change both the route and the title for the dashboard):

app.UseEndpoints(endpoints =>
{
    endpoints.MapControllers();
    endpoints.MapHangfireDashboard("/dashboard-tasks", new DashboardOptions { DashboardTitle = "Test Dash" }, null);
});