fix report dialog not taking comments #1282 (#1283)

This commit is contained in:
codl 2019-06-20 08:00:38 +02:00 committed by Nolan Lawson
parent 6980083ed0
commit 9149cbe76a

View file

@ -33,7 +33,7 @@
<div class="report-info"> <div class="report-info">
<p>You are reporting @{account.acct} to the moderators of {$currentInstance}.</p> <p>You are reporting @{account.acct} to the moderators of {$currentInstance}.</p>
<label class="sr-only" id="comments-label">Additional comments</label> <label class="sr-only" id="comments-label">Additional comments</label>
<textarea bind:value="comments" <textarea bind:value="comment"
placeholder="Additional comments" placeholder="Additional comments"
aria-labelledby="comments-label" aria-labelledby="comments-label"
maxlength="1000"></textarea> maxlength="1000"></textarea>
@ -172,7 +172,7 @@
recentStatuses: [], recentStatuses: [],
loading: true, loading: true,
forward: false, forward: false,
comments: '' comment: ''
}), }),
computed: { computed: {
displayStatuses: ({ statuses, reportMap }) => ( displayStatuses: ({ statuses, reportMap }) => (