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