mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 16:09:03 +01:00
Improved the config app for Downtime activities. You can now create/edit/remove actions on them
This commit is contained in:
parent
42a705a870
commit
c3d71f0c39
18 changed files with 275 additions and 196 deletions
|
|
@ -112,7 +112,7 @@ export default class DHBaseAction extends foundry.abstract.DataModel {
|
|||
prepareData() {}
|
||||
|
||||
get index() {
|
||||
return foundry.utils.getProperty(this.parent, this.systemPath).indexOf(this);
|
||||
return foundry.utils.getProperty(this.parent, this.systemPath).findIndex(x => x.id === this.id);
|
||||
}
|
||||
|
||||
get id() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue