Simplify condition for showing report dialog

Refactor condition to show user feedback modal.
This commit is contained in:
Enno Gelhaus 2025-09-20 11:30:49 +02:00 committed by GitHub
parent 8078814211
commit ce8017a3c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ export const initializeSentryBasic = (environment: string, dsn: string, extensio
}
// Show user feedback modal if not filtered
if (event.exception && event.event_id) {
if (event.event_id) {
Sentry.showReportDialog({ eventId: event.event_id });
}