SHA256
GuestLog - GuestDocument fixes & improvements:
- Use GuestDocument Details page to see details. - Added GuestDocument stays in details page. Other minor changes: - Updated validators to use ValueValidator base class. - Changed Snackbar settings to show them better. - Added Empty Debug page to test things. This page wont be updated in git, all test must be local-only.
This commit is contained in:
@@ -23,7 +23,13 @@ builder.Services.AddDbContextFactory<GuestLogContext>(options =>
|
||||
builder.Services.AddDatabaseDeveloperPageExceptionFilter();
|
||||
|
||||
// Add MudBlazor services
|
||||
builder.Services.AddMudServices();
|
||||
builder.Services.AddMudServices(c =>
|
||||
{
|
||||
c.SnackbarConfiguration.PositionClass = MudBlazor.Defaults.Classes.Position.TopCenter;
|
||||
c.SnackbarConfiguration.ShowTransitionDuration = 300;
|
||||
c.SnackbarConfiguration.HideTransitionDuration = 500;
|
||||
c.SnackbarConfiguration.VisibleStateDuration = 10000;
|
||||
});
|
||||
|
||||
// Add components services to the container.
|
||||
builder.Services.AddRazorComponents()
|
||||
|
||||
Reference in New Issue
Block a user