Update the Memory database and StatsViewer to better conform to the abstract implementation

This commit is contained in:
Oliver-Akins 2025-05-03 21:44:08 -06:00
parent b8b8f8f16b
commit d79597d1e2
2 changed files with 6 additions and 11 deletions

View file

@ -72,7 +72,7 @@ export class StatsViewer extends HandlebarsApplicationMixin(ApplicationV2) {
async _onFirstRender(context, options) {
await super._onFirstRender(context, options);
CONFIG.StatsDatabase.apps[this.id] = this;
CONFIG.StatsDatabase.addApp(this);
};
async _onRender(context, options) {