Skip to content

Commit 4efd41f

Browse files
committed
fix console error about missing translation
1 parent 8d5fc21 commit 4efd41f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/ui/sections/validation_issues.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function uiSectionValidationIssues(id, severity, context) {
4646
// finally: cut off at a maximum 1000 entries
4747
const center = context.map().center();
4848
const graph = context.graph();
49-
const rules = sortBy(context.validator().getRuleKeys(), [
49+
const rules = sortBy(context.validator().getRuleKeys().filter(key => key !== 'maprules'), [
5050
rule => t(`issues.${rule}.title`)
5151
]);
5252
const withDistance = _issues.map(issue => {

0 commit comments

Comments
 (0)