Skip to content

Commit eadf49c

Browse files
Add URL to feedback payload
1 parent 4097c83 commit eadf49c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

resources/web/docs_js/components/feedback_modal.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export default class FeedbackModal extends Component {
4040
body: JSON.stringify({
4141
comment: this.state.comment,
4242
feedback: this.props.isLiked ? 'liked' : 'disliked',
43+
url: window.location.href,
4344
}),
4445
})
4546
.then((response) => response.json())

0 commit comments

Comments
 (0)