diff --git a/src/background/service/notification.ts b/src/background/service/notification.ts index d93afadce8c..5f4f9995ea7 100644 --- a/src/background/service/notification.ts +++ b/src/background/service/notification.ts @@ -487,7 +487,7 @@ class NotificationService extends Events { }; private getOrigin(data = this.currentApproval?.data) { - return data?.params.origin || data?.origin; + return data?.params?.origin || data?.origin; } }