mirror of https://github.com/vector-im/riot-web
Disallow sending empty feedbacks (#7240)
parent
4511c47b1c
commit
2046991848
|
@ -174,7 +174,7 @@ const FeedbackDialog: React.FC<IProps> = (props: IProps) => {
|
|||
{ feedbackSection }
|
||||
</React.Fragment>}
|
||||
button={hasFeedback ? _t("Send feedback") : _t("Go back")}
|
||||
buttonDisabled={hasFeedback && !rageshakeUrl && !rating}
|
||||
buttonDisabled={hasFeedback && !rating && !comment}
|
||||
onFinished={onFinished}
|
||||
/>);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue