From 7516961057c799e996f904931e756eb1214d1a91 Mon Sep 17 00:00:00 2001 From: WBHarry Date: Mon, 11 Aug 2025 23:54:37 +0200 Subject: [PATCH] Fixed tab after first creation --- module/applications/characterCreation/characterCreation.mjs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/module/applications/characterCreation/characterCreation.mjs b/module/applications/characterCreation/characterCreation.mjs index d64137af..693f6c5a 100644 --- a/module/applications/characterCreation/characterCreation.mjs +++ b/module/applications/characterCreation/characterCreation.mjs @@ -194,11 +194,8 @@ export default class DhCharacterCreation extends HandlebarsApplicationMixin(Appl }); } - async _preFirstRender(_context, _options) { - this.tabGroups.setup = 'ancestry'; - } - async _prepareContext(_options) { + this.tabGroups.setup = this.tabGroups.setup ?? 'ancestry'; const context = await super._prepareContext(_options); context.tabs = this._getTabs(this.constructor.TABS);