mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
Review fixes
This commit is contained in:
parent
fafca7f2fc
commit
1ef70ca4d6
11 changed files with 99 additions and 132 deletions
|
|
@ -213,8 +213,6 @@ export default class DhlevelUp extends HandlebarsApplicationMixin(ApplicationV2)
|
|||
context.subclassCards.push({
|
||||
...data.toObject(),
|
||||
uuid: data.uuid,
|
||||
// disabled:
|
||||
// !selected && subclassSelections.length === context.advancementChoices.subclass.length,
|
||||
selected: selected
|
||||
});
|
||||
}
|
||||
|
|
@ -522,7 +520,7 @@ export default class DhlevelUp extends HandlebarsApplicationMixin(ApplicationV2)
|
|||
this.render();
|
||||
}
|
||||
} else if (event.target.closest('.multiclass-cards')) {
|
||||
const target = event.target.closest('.card-preview-container');
|
||||
const target = event.target.closest('.multiclass-cards');
|
||||
if (item.type === 'class') {
|
||||
if (item.name === this.actor.system.class.name) {
|
||||
ui.notifications.error(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue