This commit is contained in:
WBHarry 2025-11-23 02:03:38 +01:00
parent 87643dc662
commit aa1feb07b6
208 changed files with 421 additions and 206 deletions

View file

@ -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)),