Skip to content

Commit

Permalink
Editing foes works again
Browse files Browse the repository at this point in the history
  • Loading branch information
ben committed Nov 15, 2022
1 parent fed9b16 commit d79d2ac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/module/actor/sheets/foesheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,10 @@ export class FoeSheet extends VueActorSheet {
components: { 'foe-sheet': foeSheetVue },
}
}

// Override
_toggleEditMode(e: JQuery.ClickEvent<any, any, any, any>): void {
const item = this.actor?.items?.find((x) => x.type === 'progress')
item?.sheet?.render(true)
}
}

0 comments on commit d79d2ac

Please sign in to comment.