mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
Fixed so param.range is compared as lowerCase
This commit is contained in:
parent
1bc9e07098
commit
e0cf9be1df
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ export default function DhTemplateEnricher(match, _options) {
|
||||||
const range =
|
const range =
|
||||||
params.range && Number.isNaN(Number(params.range))
|
params.range && Number.isNaN(Number(params.range))
|
||||||
? Object.values(CONFIG.DH.GENERAL.templateRanges).find(
|
? Object.values(CONFIG.DH.GENERAL.templateRanges).find(
|
||||||
x => x.id.toLowerCase() === params.range || x.short === params.range
|
x => x.id.toLowerCase() === params.range.toLowerCase() || x.short === params.range.toLowerCase()
|
||||||
)?.id
|
)?.id
|
||||||
: params.range;
|
: params.range;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue