mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-02-16 18:32:25 +01:00
Remove trailing slash
This commit is contained in:
parent
9bec441e94
commit
fc2cf742c8
@ -597,7 +597,7 @@ class ModelDropdown
|
||||
foldersMap.set(
|
||||
childFolderName,
|
||||
this.createModelNodeList(
|
||||
`${folderName || '/'}${childFolderName}/`,
|
||||
`${folderName || ''}/${childFolderName}`,
|
||||
childModels,
|
||||
false,
|
||||
),
|
||||
@ -607,7 +607,7 @@ class ModelDropdown
|
||||
if (isRootFolder) {
|
||||
classes.push('in-root-folder')
|
||||
}
|
||||
const fullPath = `${folderName || ''}${model}`
|
||||
const fullPath = `${folderName || ''}/${model}`
|
||||
modelsMap.set(
|
||||
model,
|
||||
this.createElement('li', { 'data-path': fullPath }, classes, model),
|
||||
|
Loading…
Reference in New Issue
Block a user