This commit is contained in:
mProjectsCode 2022-10-16 15:27:54 +02:00
parent 54c0cadaa0
commit ccfb0fa9ee
9 changed files with 49 additions and 16 deletions

View file

@ -22,17 +22,14 @@ export class PropertyMapper {
return obj;
}
console.log('test2');
// @ts-ignore
console.log(obj.type);
// console.log(obj.type);
// @ts-ignore
if (MEDIA_TYPES.filter(x => x.toString() == obj.type).length < 1) {
return obj;
}
console.log('test3');
// @ts-ignore
const propertyMappings = this.plugin.settings.propertyMappingModels.find(x => x.type === obj.type).properties;