Another place where we should delimit name suggestion on en-dash

see 20bcfc573
This commit is contained in:
Bryan Housel
2019-01-23 09:57:43 -05:00
parent c77849fc81
commit fa1edc86a1

View File

@@ -364,8 +364,9 @@ export function uiPresetList(context) {
.append('div')
.attr('class', 'label-inner');
// NOTE: split/join on en-dash, not a hypen (to avoid conflict with fr - nl names in Brussels etc)
label.selectAll('.namepart')
.data(preset.name().split(' - '))
.data(preset.name().split(' '))
.enter()
.append('div')
.attr('class', 'namepart')