fix for #65
This commit is contained in:
parent
54c0cadaa0
commit
ccfb0fa9ee
9 changed files with 49 additions and 16 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue