diff --git a/CHANGELOG.md b/CHANGELOG.md index db92bca56..e7fcc92ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - Avoided doing a full load of moves when showing the move sheet, resulting in better performance ([#1023](https://github.com/ben/foundry-ironsworn/pull/1023)) - Brought back support for the "Custom Moves" folder (also [#1023](https://github.com/ben/foundry-ironsworn/pull/1023)) - First-start dialog: prevent a situation where an expansion is enabled but not the ruleset it builds on (you shouldn't be able to enable Delve without Ironsworn) +- Truths dialog: fix some bugs around randomization, journal output, and closing it when done ([#1024](https://github.com/ben/foundry-ironsworn/pull/1024)) ## 1.24.0 diff --git a/src/module/journal/journal-entry-page-types.ts b/src/module/journal/journal-entry-page-types.ts index 8dd705d0b..8e363e817 100644 --- a/src/module/journal/journal-entry-page-types.ts +++ b/src/module/journal/journal-entry-page-types.ts @@ -68,6 +68,7 @@ export interface ClockDataProperties { /// ///////// SETTING TRUTH OPTION export interface TruthOptionDataSourceData extends DFISettingTruthOption { dfid: string + dsid?: string Summary: string Quest: string } diff --git a/src/module/vue/components/truth/truth-category.vue b/src/module/vue/components/truth/truth-category.vue index 5b5b482ea..f410257cc 100644 --- a/src/module/vue/components/truth/truth-category.vue +++ b/src/module/vue/components/truth/truth-category.vue @@ -10,13 +10,13 @@ :key="`truthPage${i}`" ref="selectables" :page="page" - :radio-group="dfid" + :radio-group="dsid" @change="valueChange" /> @@ -51,7 +51,7 @@ const nonTruthPages = props .je() ?.pages.filter((p) => p.type !== 'truth') as NonTruthPage[] -const dfid = props.je().getFlag('foundry-ironsworn', 'dfid') as string +const dsid = props.je().getFlag('foundry-ironsworn', 'dsid') as string const state = reactive<{ title?: string diff --git a/src/module/vue/components/truth/truth-selectable.vue b/src/module/vue/components/truth/truth-selectable.vue index 23ce2b2fa..d726cc191 100644 --- a/src/module/vue/components/truth/truth-selectable.vue +++ b/src/module/vue/components/truth/truth-selectable.vue @@ -1,7 +1,7 @@