mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
enhance consumable and miscellaneous sheets (#68)
This commit is contained in:
parent
c306c95e6b
commit
6fcfce227a
14 changed files with 190 additions and 179 deletions
|
|
@ -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;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue