replace - with _

This commit is contained in:
Timo Bejan 2022-01-18 15:31:14 +02:00
parent e9ff4a9483
commit d5e323502d

View File

@ -130,7 +130,7 @@ export class AddEditDictionaryDialogComponent extends BaseDialogComponent {
let technicalName = baseTechnicalName;
let suffix = 1;
while (existingTechnicalNames.includes(technicalName)) {
technicalName = [baseTechnicalName, suffix++].join('-');
technicalName = [baseTechnicalName, suffix++].join('_');
}
return technicalName;
}