mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-13 12:11:07 +01:00
.
This commit is contained in:
parent
87643dc662
commit
aa1feb07b6
208 changed files with 421 additions and 206 deletions
|
|
@ -57,7 +57,11 @@ export default class ActionSelectionDialog extends HandlebarsApplicationMixin(Ap
|
|||
|
||||
/** @inheritDoc */
|
||||
async _prepareContext(options) {
|
||||
const actions = this.#item.system.actionsList,
|
||||
const actions = this.#item.system.actionsList.map(action => ({
|
||||
...action.toObject(),
|
||||
id: action.id,
|
||||
img: action.baseAction ? action.parent.parent.img : action.img
|
||||
})),
|
||||
itemName = this.#item.name;
|
||||
return {
|
||||
...(await super._prepareContext(options)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue