Refactor calendar import process to clear input and output after saving

This commit modifies the calendar import functionality to clear the input text and parsing result instead of navigating back to the calendar index after saving occurrences. This change enhances user experience by allowing users to continue importing without interruption.
This commit is contained in:
2026-01-09 10:51:38 -05:00
parent c4e7edf3db
commit eb342cd6a6
@@ -343,9 +343,9 @@
await Context.SaveChangesAsync();
Snackbar.Add($"Successfully saved {savedCount} occurrence(s) to database", Severity.Success);
// Navigate back to the calendar index after a short delay
await Task.Delay(1000);
NavigationManager.NavigateTo("/calendar/event-occurrences");
// Clear input and output instead of navigating
_inputText = string.Empty;
_parseResult = null;
}
catch (Exception ex)
{