fix(theme): incorrect collection auto complete
This commit is contained in:
parent
22b65fd22c
commit
2a8385f3aa
@ -30,6 +30,6 @@ function completeCollectionItems(collection: ThemeCollectionItem): void {
|
||||
collection.categories && (collection.categoriesLink ||= `${collection.linkPrefix}categories/`)
|
||||
}
|
||||
else {
|
||||
collection.linkPrefix = normalizePath(`/${collection.dir}/`)
|
||||
collection.linkPrefix ||= normalizePath(`/${collection.dir}/`)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user