Remove extra data preparation that's not needed

This commit is contained in:
Oliver-Akins 2025-01-01 01:55:57 -07:00
parent 9e12737429
commit 80b86c2899

View file

@ -54,11 +54,6 @@ export class HeroSummaryCardV1 extends GenericAppMixin(HandlebarsApplicationMixi
ctx = await HeroSummaryCardV1.prepareSpeed(ctx); ctx = await HeroSummaryCardV1.prepareSpeed(ctx);
ctx = await HeroSummaryCardV1.prepareLevelData(ctx); ctx = await HeroSummaryCardV1.prepareLevelData(ctx);
partId = partId.slice(0,1).toUpperCase() + partId.slice(1);
if (this[`_prepare${partId}Context`] != null) {
ctx = await this[`_prepare${partId}Context`](ctx, opts);
};
Logger.debug(`Context:`, ctx); Logger.debug(`Context:`, ctx);
return ctx; return ctx;
}; };