From 1aaec9f3389ca5df877403cfd8868a2c4ab06d97 Mon Sep 17 00:00:00 2001 From: Ben Straub Date: Thu, 7 Nov 2024 15:18:35 -0800 Subject: [PATCH] "+Vow" creates a vow --- CHANGELOG.md | 2 ++ src/module/vue/components/progress/progress-controls.vue | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef1115688..3d16c5c2d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Next Release +- Fix a bug where clicking "+Vow" would create a "progress" item instead of a "vow" item. + ## 1.24.6 - Fix a bug where changing the name of a move in the compendium doesn't change it in the move sheet ([#1036](https://github.com/ben/foundry-ironsworn/pull/1036)) diff --git a/src/module/vue/components/progress/progress-controls.vue b/src/module/vue/components/progress/progress-controls.vue index 33767e89c..1edda464e 100644 --- a/src/module/vue/components/progress/progress-controls.vue +++ b/src/module/vue/components/progress/progress-controls.vue @@ -36,7 +36,7 @@ async function addProgressItem(subtype) { const itemData = { name: subtype.capitalize(), type: 'progress', - data: { subtype }, + system: { subtype }, sort: 9000000 } const item = await Item.create(itemData as any, { parent: $actor })