Fix issue where upload would be blocked despite changeset comment

This commit is contained in:
Quincy Morgan
2020-03-23 14:04:08 -07:00
parent 7900d08aa1
commit a3ae06001a
+1 -2
View File
@@ -435,8 +435,7 @@ export function uiCommit(context) {
return t('commit.outstanding_errors_message', { count: errors.length });
} else {
var n = d3_select('#preset-input-comment').node();
var hasChangesetComment = n && n.value.length > 0;
var hasChangesetComment = _changeset && _changeset.tags.comment && _changeset.tags.comment.trim().length;
if (!hasChangesetComment) {
return t('commit.comment_needed_message');
}