fixed disabled prefix in case of unsafe import to conform to new attribute name pattern constraints

pull/255/head
zadam 2020-12-04 22:05:29 +07:00
parent e318acc977
commit b7b1324dd0
1 changed files with 1 additions and 1 deletions

@ -158,7 +158,7 @@ async function importZip(taskContext, fileBuffer, importRootNote) {
}
if (taskContext.data.safeImport && attributeService.isAttributeDangerous(attr.type, attr.name)) {
attr.name = 'disabled-' + attr.name;
attr.name = 'disabled:' + attr.name;
}
attributes.push(attr);