From bcaa8646131ec86d7ab5efc8051ef97fded76f96 Mon Sep 17 00:00:00 2001 From: alter-eggo Date: Thu, 18 Jan 2024 19:15:01 +0400 Subject: [PATCH] feat: add email in feedback widget --- src/app/features/feedback-button/feedback-button.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/features/feedback-button/feedback-button.tsx b/src/app/features/feedback-button/feedback-button.tsx index 08dd1641a99..709556ebd27 100644 --- a/src/app/features/feedback-button/feedback-button.tsx +++ b/src/app/features/feedback-button/feedback-button.tsx @@ -12,6 +12,10 @@ export function openFeedbackDialog() { const client = getCurrentHub().getClient(); const feedback = client?.getIntegration(Feedback); if (!feedback) return; + + feedback.createWidget({ + showEmail: true, + }); feedback.openDialog(); }