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 =
|
||||
params.range && Number.isNaN(Number(params.range))
|
||||
? 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
|
||||
: params.range;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue