Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 2046991

Browse files
authored
Disallow sending empty feedbacks (#7240)
1 parent 4511c47 commit 2046991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/views/dialogs/FeedbackDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ const FeedbackDialog: React.FC<IProps> = (props: IProps) => {
174174
{ feedbackSection }
175175
</React.Fragment>}
176176
button={hasFeedback ? _t("Send feedback") : _t("Go back")}
177-
buttonDisabled={hasFeedback && !rageshakeUrl && !rating}
177+
buttonDisabled={hasFeedback && !rating && !comment}
178178
onFinished={onFinished}
179179
/>);
180180
};

0 commit comments

Comments
 (0)