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
|
|
@ -23,13 +23,6 @@ export class AspectSheet extends GenericItemSheet {
|
|||
|
||||
async getData() {
|
||||
const ctx = {};
|
||||
const item = this.item;
|
||||
|
||||
ctx.item = item;
|
||||
ctx.system = item.system;
|
||||
ctx.flags = item.flags;
|
||||
|
||||
console.log(item.uuid, `context:`, ctx);
|
||||
return ctx;
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue