enhance consumable and miscellaneous sheets (#68)

This commit is contained in:
Murilo Brito 2025-05-27 08:46:12 -03:00 committed by GitHub
parent c306c95e6b
commit 6fcfce227a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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;
}
};
}