Skip to content

Commit

Permalink
Fix Maintenance not loading when content version flag is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jagusti committed Aug 12, 2024
1 parent 57e3716 commit 57c32e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ All notable changes to this project will be documented in this file. The format
## Unreleased
See [Issue Backlog](../../issues) and [Roadmap](../../milestones).

## [Version 7.1.0](https://github.com/Jagusti/fvtt-wfrp4e-gmtoolkit/releases/tag/v7.0.3) (2024-08-12)
## [Version 7.1.1](https://github.com/Jagusti/fvtt-wfrp4e-gmtoolkit/releases/tag/v7.1.1) (2024-08-12)
* *Fixed* Maintenance utility not loading when (RollTable) content version flag is missing

## [Version 7.1.0](https://github.com/Jagusti/fvtt-wfrp4e-gmtoolkit/releases/tag/v7.1.0) (2024-08-12)
* *Added* compatibility for Foundry VTT v12. This is a **breaking** change:
* v11 is no longer supported beyond GM Toolkit v7.0.3.
* v12 the minimum version required for GM Toolkit.
Expand Down
2 changes: 1 addition & 1 deletion apps/gm-toolkit-maintenance.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ async function buildLocalizedContent (documentType) {
content.translationKey = strip(content.name, translationKeyPrefix, ".")
content.compendiumVersion = documents
.filter(d => d.name === game.i18n.localize(content.translationKey))
.map(i => i.flags["wfrp4e-gm-toolkit"].version)
.map(i => i.flags["wfrp4e-gm-toolkit"]?.version)
contentArray.push(content)
}

Expand Down

0 comments on commit 57c32e8

Please sign in to comment.