all analyse tests passes locally

This commit is contained in:
Jan Prochazka 2021-05-27 14:57:38 +02:00
parent d058003cc9
commit d67637c7e8

View File

@ -104,7 +104,10 @@ export class DatabaseAnalyser {
if (typeField == objectTypeField) return [pureName];
}
if (this.modifications) {
return this.modifications.filter(x => x.objectTypeField == objectTypeField).map(x => x.newName.pureName);
return this.modifications
.filter(x => x.objectTypeField == objectTypeField)
.filter(x => x.newName)
.map(x => x.newName.pureName);
}
return allPureNames;
}