mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-22 11:03:28 +00:00
Display issues for disabled rules in the commit UI
Allow errors for disabled rules to block upload Include warnings for disabled rules in the changeset tags (re: #6325)
This commit is contained in:
@@ -9,7 +9,7 @@ export function uiCommitWarnings(context) {
|
||||
|
||||
function commitWarnings(selection) {
|
||||
var issuesBySeverity = context.validator()
|
||||
.getIssuesBySeverity({ what: 'edited', where: 'all' });
|
||||
.getIssuesBySeverity({ what: 'edited', where: 'all', includeDisabledRules: true });
|
||||
|
||||
for (var severity in issuesBySeverity) {
|
||||
var issues = issuesBySeverity[severity];
|
||||
|
||||
Reference in New Issue
Block a user