enhance consumable and miscellaneous sheets

This commit is contained in:
moliloo 2025-05-26 22:53:10 -03:00
parent c306c95e6b
commit d180b0e74c
14 changed files with 190 additions and 179 deletions

View file

@ -69,5 +69,14 @@ export default function DhpApplicationMixin(Base) {
}
_onDrop(event) {}
_getTabs(tabs) {
for (const v of Object.values(tabs)) {
v.active = this.tabGroups[v.group] ? this.tabGroups[v.group] === v.id : v.active;
v.cssClass = v.active ? 'active' : '';
}
return tabs;
}
};
}