mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-07 05:14:16 +02:00
Renmamed variable
This commit is contained in:
parent
4bfb2cc63c
commit
25fc666e69
1 changed files with 2 additions and 2 deletions
|
|
@ -68,7 +68,7 @@ export default class CompendiumBrowserSettings extends HandlebarsApplicationMixi
|
||||||
if (!acc[type].sources[packageName])
|
if (!acc[type].sources[packageName])
|
||||||
acc[type].sources[packageName] = { label: sourceLabel, checked: sourceChecked, packs: [] };
|
acc[type].sources[packageName] = { label: sourceLabel, checked: sourceChecked, packs: [] };
|
||||||
|
|
||||||
const checked =
|
const included =
|
||||||
!excludedPackData[packageName] ||
|
!excludedPackData[packageName] ||
|
||||||
!excludedPackData[packageName][name]?.excludedDocumentTypes.includes(type);
|
!excludedPackData[packageName][name]?.excludedDocumentTypes.includes(type);
|
||||||
|
|
||||||
|
|
@ -76,7 +76,7 @@ export default class CompendiumBrowserSettings extends HandlebarsApplicationMixi
|
||||||
name,
|
name,
|
||||||
type,
|
type,
|
||||||
label: id === game.system.id ? game.system.title : game.i18n.localize(label),
|
label: id === game.system.id ? game.system.title : game.i18n.localize(label),
|
||||||
checked: checked
|
checked: included
|
||||||
});
|
});
|
||||||
|
|
||||||
return acc;
|
return acc;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue