Refactor char folder image upload process to use direct upload method
This commit is contained in:
@@ -1081,6 +1081,14 @@ export function getUnpargeables(db: Database, uptype: 'basename' | 'pure' = 'bas
|
||||
addUnparge(v.icon);
|
||||
});
|
||||
}
|
||||
|
||||
if(db.characterOrder){
|
||||
db.characterOrder.forEach((item) => {
|
||||
if (typeof item === 'object' && 'imgFile' in item) {
|
||||
addUnparge(item.imgFile);
|
||||
}
|
||||
})
|
||||
}
|
||||
return unpargeable;
|
||||
}
|
||||
|
||||
|
||||
@@ -1203,6 +1203,7 @@ export interface folder{
|
||||
data:string[]
|
||||
color:string
|
||||
id:string
|
||||
imgFile?:string
|
||||
img?:string
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user