mirror of
https://github.com/Steffo99/obsidian-file-index.git
synced 2024-11-24 05:54:21 +00:00
Lowercase basenames
This commit is contained in:
parent
e031c6a819
commit
b91d190094
1 changed files with 3 additions and 1 deletions
4
main.ts
4
main.ts
|
@ -61,7 +61,9 @@ export default class SteffoFileIndexPlugin extends Plugin {
|
|||
}
|
||||
|
||||
paths.push(file.path)
|
||||
basenames[file.basename] = file.path
|
||||
|
||||
const basename = file.basename.toLocaleLowerCase()
|
||||
basenames[basename] = file.path
|
||||
}
|
||||
|
||||
paths.sort()
|
||||
|
|
Loading…
Reference in a new issue