From 25fc666e69c2cd92901866a16393e7ef1eea211b Mon Sep 17 00:00:00 2001 From: WBHarry Date: Thu, 21 May 2026 00:47:03 +0200 Subject: [PATCH] Renmamed variable --- module/applications/dialogs/CompendiumBrowserSettings.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/applications/dialogs/CompendiumBrowserSettings.mjs b/module/applications/dialogs/CompendiumBrowserSettings.mjs index 4679cd67..8f819289 100644 --- a/module/applications/dialogs/CompendiumBrowserSettings.mjs +++ b/module/applications/dialogs/CompendiumBrowserSettings.mjs @@ -68,7 +68,7 @@ export default class CompendiumBrowserSettings extends HandlebarsApplicationMixi if (!acc[type].sources[packageName]) acc[type].sources[packageName] = { label: sourceLabel, checked: sourceChecked, packs: [] }; - const checked = + const included = !excludedPackData[packageName] || !excludedPackData[packageName][name]?.excludedDocumentTypes.includes(type); @@ -76,7 +76,7 @@ export default class CompendiumBrowserSettings extends HandlebarsApplicationMixi name, type, label: id === game.system.id ? game.system.title : game.i18n.localize(label), - checked: checked + checked: included }); return acc;