Ensure we conform to the API specification as closely as possible

This commit is contained in:
Oliver-Akins 2025-05-24 16:50:50 -06:00
parent c7197641b6
commit c3d632274a

View file

@ -84,11 +84,11 @@ export class StatsViewer extends HandlebarsApplicationMixin(ApplicationV2) {
// #endregion Instance Data
// #region Lifecycle
async render({ userUpdated, ...opts } = {}) {
async render({ userUpdated, ...opts } = {}, _options) {
if (userUpdated && !this._selectedUsers.includes(userUpdated)) {
return;
}
await super.render(opts);
await super.render(opts, _options);
};
async _onFirstRender(context, options) {