Reverted MALAPIManga rename

This commit is contained in:
ltctceplrm 2025-03-08 02:26:15 +01:00
parent 266bb99a31
commit 666ca1e93b
2 changed files with 4 additions and 5 deletions

View file

@ -126,4 +126,7 @@ export class MALAPIManga extends APIModel {
}, },
}); });
} }
getDisabledMediaTypes(): MediaType[] {
return this.plugin.settings.MALAPIManga_disabledMediaTypes as MediaType[];
}
} }

View file

@ -66,10 +66,6 @@ export class PropertyMapper {
obj.type = 'comicManga'; obj.type = 'comicManga';
console.debug(`MDB | updated metadata type`, obj.type); console.debug(`MDB | updated metadata type`, obj.type);
} }
if (obj.dataSource === 'MALAPI Manga') {
obj.dataSource = 'MALAPIManga';
console.debug(`MDB | updated metadata dataSource`, obj.type);
}
if (MEDIA_TYPES.contains(obj.type as any)) { if (MEDIA_TYPES.contains(obj.type as any)) {
return obj; return obj;
} }