mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 13:38:26 +02:00
Exclude 'fixme'/'help_request' warnings from changeset tags.
They still appear in the issue list and in the entity editor. (closes #8603)
This commit is contained in:
@@ -12,6 +12,11 @@ export function uiCommitWarnings(context) {
|
||||
|
||||
for (var severity in issuesBySeverity) {
|
||||
var issues = issuesBySeverity[severity];
|
||||
|
||||
if (severity !== 'error') { // exclude 'fixme' and similar - #8603
|
||||
issues = issues.filter(function(issue) { return issue.type !== 'help_request'; });
|
||||
}
|
||||
|
||||
var section = severity + '-section';
|
||||
var issueItem = severity + '-item';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user