mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
Disallow sending empty feedbacks (#7240)
This commit is contained in:
parent
4511c47b1c
commit
2046991848
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ const FeedbackDialog: React.FC<IProps> = (props: IProps) => {
|
||||||
{ feedbackSection }
|
{ feedbackSection }
|
||||||
</React.Fragment>}
|
</React.Fragment>}
|
||||||
button={hasFeedback ? _t("Send feedback") : _t("Go back")}
|
button={hasFeedback ? _t("Send feedback") : _t("Go back")}
|
||||||
buttonDisabled={hasFeedback && !rageshakeUrl && !rating}
|
buttonDisabled={hasFeedback && !rating && !comment}
|
||||||
onFinished={onFinished}
|
onFinished={onFinished}
|
||||||
/>);
|
/>);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue