Fix template name only checking first letter

This commit is contained in:
mtkennerly 2022-06-24 00:37:56 +08:00
parent 2512470900
commit 2ae7df680b
No known key found for this signature in database
GPG key ID: E764BE00BE6E6408
2 changed files with 3 additions and 3 deletions

View file

@ -499172,12 +499172,12 @@ The Lord of the Rings Online:
- os: windows
'The Lord of the Rings: The Return of the King':
files:
<winDocuments>/:
<winDocuments>/LOTR Return of the King Data:
tags:
- save
when:
- os: windows
<winDocuments>//ROTK.ini:
<winDocuments>/LOTR Return of the King Data/ROTK.ini:
tags:
- config
when:

View file

@ -241,7 +241,7 @@ interface PathCell {
}
function stringifyTransclusionCell(cell: PathCell): [string, boolean] {
const templateName = cell[0][0] as string;
const templateName = cell[0] as string;
switch (templateName.toLowerCase()) {
case "p":
case "path":