Add ability to show the square threshold in the rule name

This commit is contained in:
Bryan Housel
2019-05-17 02:15:20 -04:00
parent 8d0fa289cf
commit 94c5164fe2
3 changed files with 9 additions and 3 deletions
+7 -1
View File
@@ -564,7 +564,13 @@ export function uiIssues(context) {
label
.append('span')
.text(function(d) { return t('issues.' + d + '.title'); });
.text(function(d) {
var params = {};
if (d === 'unsquare_way') {
params.val = 6.5;
}
return t('issues.' + d + '.title', params);
});
// Update
items = items