Skip to content

Commit

Permalink
Merge pull request #186 from DennisvHest/139-remove-error-message-aft…
Browse files Browse the repository at this point in the history
…er-problem-is-resolved

Removing error notifications after 5 minutes
  • Loading branch information
DennisvHest committed Jun 29, 2024
2 parents 902b94a + cdc78b9 commit 4f0eec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MapMaven/Services/ApplicationEventNotificationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public ApplicationEventNotificationService(IApplicationEventService applicationE
{
snackbar.Add($"{error.Message} Error: {error.Exception.Message}", Severity.Error, config =>
{
config.VisibleStateDuration = int.MaxValue;
config.VisibleStateDuration = (int)TimeSpan.FromMinutes(5).TotalMilliseconds;
});
});

Expand Down

0 comments on commit 4f0eec1

Please sign in to comment.