From 2046991848419b631d93731de31891a920e66fce Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 1 Dec 2021 10:59:46 +0000 Subject: [PATCH] Disallow sending empty feedbacks (#7240) --- src/components/views/dialogs/FeedbackDialog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/dialogs/FeedbackDialog.tsx b/src/components/views/dialogs/FeedbackDialog.tsx index b6008702c8..4914b26210 100644 --- a/src/components/views/dialogs/FeedbackDialog.tsx +++ b/src/components/views/dialogs/FeedbackDialog.tsx @@ -174,7 +174,7 @@ const FeedbackDialog: React.FC = (props: IProps) => { { feedbackSection } } button={hasFeedback ? _t("Send feedback") : _t("Go back")} - buttonDisabled={hasFeedback && !rageshakeUrl && !rating} + buttonDisabled={hasFeedback && !rating && !comment} onFinished={onFinished} />); };