From afe50f4e12ef91aced1f544b11e1cc3aff812f40 Mon Sep 17 00:00:00 2001 From: DocSchlock Date: Fri, 20 Sep 2024 16:25:01 -0400 Subject: [PATCH] Fix issue with permanently hidden Campaign Features in Comp Browser (#16575) --- static/lang/en.json | 3 ++- .../compendium-browser/settings/pack-settings.hbs | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/static/lang/en.json b/static/lang/en.json index 0d86d2c0bf0..65f86ec5446 100644 --- a/static/lang/en.json +++ b/static/lang/en.json @@ -1811,7 +1811,8 @@ "UnequippedHint": "This armor is bulkier due to not being equipped." }, "CampaignFeature": { - "CampaignLabel": "Campaign" + "CampaignLabel": "Campaign", + "Plural": "Campaign Features" }, "CannotAddType": "{type} items cannot be added to this actor.", "Condition": { diff --git a/static/templates/compendium-browser/settings/pack-settings.hbs b/static/templates/compendium-browser/settings/pack-settings.hbs index cb182d971a6..53ab38ce522 100644 --- a/static/templates/compendium-browser/settings/pack-settings.hbs +++ b/static/templates/compendium-browser/settings/pack-settings.hbs @@ -52,3 +52,14 @@ {{/each}} + +{{#if @root.showCampaign}} +
+

{{localize "PF2E.Item.CampaignFeature.Plural"}}

+
+ {{#each settings.campaignFeature as |conf pack|}} + + {{/each}} +
+
+{{/if}}