Move context preparation common to all items into the GenericItemSheet
This commit is contained in:
parent
acd4d35da0
commit
23dd021df6
4 changed files with 4 additions and 15 deletions
|
|
@ -33,6 +33,10 @@ export class GenericItemSheet extends ItemSheet {
|
|||
idp: this.item.uuid,
|
||||
};
|
||||
|
||||
ctx.item = this.item;
|
||||
ctx.system = this.item.system;
|
||||
ctx.flags = this.item.flags;
|
||||
|
||||
ctx.config = DOTDUNGEON;
|
||||
ctx.icons = CONFIG.CACHE.icons;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue