mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-07-01 12:31:48 +08:00
✨ Feature(custom): optimize the file select experience in manage file explorer page
This commit is contained in:
@@ -942,7 +942,7 @@ async function switchToPicbed(picbedType: IFavoritePicbedItem) {
|
||||
|
||||
function getPicbedName(picbedType: IFavoritePicbedItem): string {
|
||||
if (!picBedG.value || picBedG.value.length === 0) {
|
||||
return picbedType.configName
|
||||
return picbedType.configName || 'Default'
|
||||
}
|
||||
const target = picBedG.value.find(item => item.type === picbedType.type)
|
||||
return `${target ? target.name : picbedType.type}-${picbedType.configName}`
|
||||
|
||||
Reference in New Issue
Block a user