Removed tabs when in Summary

This commit is contained in:
WBHarry 2025-06-06 03:14:17 +02:00
parent 629782eccc
commit aca1f8a541
5 changed files with 28 additions and 22 deletions

View file

@ -115,6 +115,7 @@ export default class DhlevelUp extends HandlebarsApplicationMixin(ApplicationV2)
const { selections } = currentLevel.nrSelections;
context.tabs.advancements.progress = { selected: selections, max: currentLevel.maxSelections };
context.showTabs = this.tabGroups.primary !== 'summary';
break;
case 'selections':
const advancementChoices = Object.keys(currentLevel.choices).reduce((acc, choiceKey) => {